mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
Little more work on #760:
* no tactics in creature banks * no spellcasting during tactics phase
This commit is contained in:
@ -2081,7 +2081,7 @@ int CGameState::victoryCheck( ui8 player ) const
|
||||
BOOST_FOREACH(const CGTownInstance *t, map->towns)
|
||||
if((t == map->victoryCondition.obj || !map->victoryCondition.obj)
|
||||
&& t->tempOwner == player
|
||||
&& vstd::contains(t->builtBuildings, 26))
|
||||
&& vstd::contains(t->builtBuildings, EBuilding::GRAIL))
|
||||
return 1;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user