wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src display.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src display.cpp
Date: Fri, 28 Jan 2005 15:22:03 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/01/28 20:22:03

Modified files:
        src            : display.cpp 

Log message:
        Remove dead code.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.285&tr2=1.286&r1=text&r2=text

Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.285 wesnoth/src/display.cpp:1.286
--- wesnoth/src/display.cpp:1.285       Thu Jan 27 03:45:00 2005
+++ wesnoth/src/display.cpp     Fri Jan 28 20:22:03 2005
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.285 2005/01/27 03:45:00 Sirp Exp $ */
+/* $Id: display.cpp,v 1.286 2005/01/28 20:22:03 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -671,9 +671,7 @@
        SDL_Delay(maximum<int>(10,wait_time));
 
        if(update) {
-               const int thisDraw = SDL_GetTicks();
-               const int latency = thisDraw - lastDraw_;
-               lastDraw_ = thisDraw;
+               lastDraw_ = SDL_GetTicks();
 
                if(wait_time >= 0 || drawSkips_ >= max_skips || force) {
                        if(changed) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]