diff options
author | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
commit | 250a00cc1c91d2df2b6c4f72a2ad322b46fed783 (patch) | |
tree | eab0216df4c91777747e866ed4525c9fbc7a037f /src/game/Weather.cpp | |
parent | acdc4ca15b69c84197f867192328829904646a66 (diff) |
Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Weather.cpp')
-rw-r--r-- | src/game/Weather.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Weather.cpp b/src/game/Weather.cpp index 62c2532a3cd..5d8d1fbd9ba 100644 --- a/src/game/Weather.cpp +++ b/src/game/Weather.cpp @@ -88,7 +88,7 @@ bool Weather::ReGenerate() //78 days between January 1st and March 20nd; 365/4=91 days by season // season source http://aa.usno.navy.mil/data/docs/EarthSeasons.html - time_t gtime = sGameTime.GetGameTime(); + time_t gtime = sWorld.GetGameTime(); struct tm * ltime = localtime(>ime); uint32 season = ((ltime->tm_yday - 78 + 365)/91)%4; |