Mercurial > mm7
diff Game.cpp @ 2122:5b654c03a11e
for snow in house
author | Ritor1 |
---|---|
date | Wed, 25 Dec 2013 17:42:19 +0600 |
parents | f6e59446c133 |
children | de5cdcb03fda |
line wrap: on
line diff
--- a/Game.cpp Wed Dec 25 17:20:02 2013 +0600 +++ b/Game.cpp Wed Dec 25 17:42:19 2013 +0600 @@ -205,7 +205,8 @@ static uint frames_this_second = 0; static uint last_frame_time = GetTickCount(); static uint framerate_time_elapsed = 0; - pWeather->Draw();//Ritor1: my include + if ( pCurrentScreen == SCREEN_GAME ) + pWeather->Draw();//Ritor1: my include uint frame_dt = GetTickCount() - last_frame_time; last_frame_time = GetTickCount();