From 74b15fcd70ff7be7120e67669c424926a56cfc1b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 4 Feb 2006 11:59:03 +0000 Subject: [PATCH] global warming only in summer - fix --- src/eressea/eressea-lua.vcproj | 2 +- src/eressea/korrektur.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/eressea/eressea-lua.vcproj b/src/eressea/eressea-lua.vcproj index 858bbee29..ba2f19dcd 100644 --- a/src/eressea/eressea-lua.vcproj +++ b/src/eressea/eressea-lua.vcproj @@ -44,7 +44,7 @@ #include #include +#include #include #include #include @@ -1009,7 +1010,7 @@ korrektur(void) do_once("asfi", &fix_astral_firewalls); frame_regions(); #ifdef GLOBAL_WARMING - if (current_season == SEASON_SUMMER) { + if (get_gamedate(turn, NULL)->season == SEASON_SUMMER) { global_warming(); } #endif