mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Start of stabilization - battles now start correctly
This commit is contained in:
@@ -43,7 +43,7 @@ CBattleQuery::CBattleQuery(CGameHandler * owner):
|
||||
bool CBattleQuery::blocksPack(const CPack * pack) const
|
||||
{
|
||||
const char * name = typeid(*pack).name();
|
||||
return strcmp(name, typeid(MakeAction).name()) && strcmp(name, typeid(MakeCustomAction).name());
|
||||
return strcmp(name, typeid(MakeAction).name()) != 0;
|
||||
}
|
||||
|
||||
void CBattleQuery::onRemoval(PlayerColor color)
|
||||
|
||||
Reference in New Issue
Block a user