forked from github/server
global warming only in summer - fix
This commit is contained in:
parent
fcbc834a2b
commit
74b15fcd70
|
@ -44,7 +44,7 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
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"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <kernel/alliance.h>
|
||||
#include <kernel/border.h>
|
||||
#include <kernel/building.h>
|
||||
#include <kernel/calendar.h>
|
||||
#include <kernel/faction.h>
|
||||
#include <kernel/item.h>
|
||||
#include <kernel/magic.h>
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue