mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Compile fixes for gcc, as per http://forum.vcmi.eu/viewtopic.php?p=9638#9638
This commit is contained in:
@@ -217,7 +217,7 @@ void CAdventureAI::saveGame(COSer<CSaveFile> &h, const int version) /*saving */
|
||||
{
|
||||
LOG_TRACE_PARAMS(logAi, "version '%i'", version);
|
||||
CGlobalAI::saveGame(h, version);
|
||||
bool hasBattleAI = battleAI;
|
||||
bool hasBattleAI = static_cast<bool>(battleAI);
|
||||
h << hasBattleAI;
|
||||
if(hasBattleAI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user