forked from github/server
global warming only in summer - fix
This commit is contained in:
parent
fcbc834a2b
commit
74b15fcd70
2 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions="/MACHINE:I386 /FIXED:NO"
|
AdditionalOptions="/MACHINE:I386 /FIXED:NO"
|
||||||
AdditionalDependencies="luabind.lib lua50.lib lualib50.lib libxml2.lib iconv.lib"
|
AdditionalDependencies="luabind.lib lua50.lib libxml2.lib iconv.lib"
|
||||||
OutputFile=".\Release/eressea-lua.exe"
|
OutputFile=".\Release/eressea-lua.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#include <kernel/alliance.h>
|
#include <kernel/alliance.h>
|
||||||
#include <kernel/border.h>
|
#include <kernel/border.h>
|
||||||
#include <kernel/building.h>
|
#include <kernel/building.h>
|
||||||
|
#include <kernel/calendar.h>
|
||||||
#include <kernel/faction.h>
|
#include <kernel/faction.h>
|
||||||
#include <kernel/item.h>
|
#include <kernel/item.h>
|
||||||
#include <kernel/magic.h>
|
#include <kernel/magic.h>
|
||||||
|
@ -1009,7 +1010,7 @@ korrektur(void)
|
||||||
do_once("asfi", &fix_astral_firewalls);
|
do_once("asfi", &fix_astral_firewalls);
|
||||||
frame_regions();
|
frame_regions();
|
||||||
#ifdef GLOBAL_WARMING
|
#ifdef GLOBAL_WARMING
|
||||||
if (current_season == SEASON_SUMMER) {
|
if (get_gamedate(turn, NULL)->season == SEASON_SUMMER) {
|
||||||
global_warming();
|
global_warming();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue