diff Game.cpp @ 2123:de5cdcb03fda

sky for snow
author Ritor1
date Thu, 26 Dec 2013 00:19:49 +0600
parents 5b654c03a11e
children 7f403ebf619f
line wrap: on
line diff
--- a/Game.cpp	Wed Dec 25 17:42:19 2013 +0600
+++ b/Game.cpp	Thu Dec 26 00:19:49 2013 +0600
@@ -205,7 +205,7 @@
   static uint frames_this_second = 0;
   static uint last_frame_time = GetTickCount();
   static uint framerate_time_elapsed = 0;
-  if ( pCurrentScreen == SCREEN_GAME )
+  if ( pCurrentScreen == SCREEN_GAME && uCurrentlyLoadedLevelType == LEVEL_Outdoor)
     pWeather->Draw();//Ritor1: my include
 
   uint frame_dt = GetTickCount() - last_frame_time;