diff Outdoor.cpp @ 750:23a07ead5980

Night fixed.
author Nomad
date Fri, 22 Mar 2013 23:50:02 +0200
parents 9d13d2ec35a6
children 5ba796adbf5e
line wrap: on
line diff
--- a/Outdoor.cpp	Fri Mar 22 23:26:01 2013 +0200
+++ b/Outdoor.cpp	Fri Mar 22 23:50:02 2013 +0200
@@ -171,7 +171,7 @@
   {
     if ( pParty->uCurrentHour < 0x14 )
     {
-      pWeather->field_FA0 = 0;
+      pWeather->bNight = 0;
       v2 = 0.0;
       return v2 * 0.016666668;
     }
@@ -183,13 +183,13 @@
     }
 LABEL_9:
     v2 = 60.0;
-    pWeather->field_FA0 = 1;
+    pWeather->bNight = 1;
     return v2 * 0.016666668;
   }
   v1 = 0;
   v2 = 60.0 - (double)(60 * pParty->uCurrentHour + pParty->uCurrentMinute - 300);
 LABEL_4:
-  pWeather->field_FA0 = v1;
+  pWeather->bNight = v1;
   return v2 * 0.016666668;
 }