Remove dead code.

This commit is contained in:
Guillaume Melquiond 2005-01-28 20:22:03 +00:00
parent 9ee046f8df
commit 874c2fc4f8

View file

@ -671,9 +671,7 @@ void display::draw(bool update,bool force)
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) {