1
0
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:
Michał W. Urbańczyk
2012-03-28 21:54:43 +00:00
parent c698181c4c
commit 3cf4ebc163
4 changed files with 17 additions and 7 deletions

View File

@ -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;