From 7c5a61863975862b7c22441db700ef75c5f8840b Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 20 Jan 2009 16:51:55 +0000 Subject: (svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out. --- src/video/dedicated_v.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video') diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index bd3a1bd2f..57f936d98 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -297,6 +297,7 @@ void VideoDriver_Dedicated::MainLoop() DedicatedHandleKeyInput(); cur_ticks = GetTime(); + _realtime_tick += cur_ticks - prev_cur_ticks; if (cur_ticks >= next_tick || cur_ticks < prev_cur_ticks) { next_tick = cur_ticks + 30; -- cgit v1.2.3-54-g00ecf