mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
* fixed crash related to cammander's SPELL_AFTER_ATTACK spell id not initialized properly (text id was resolved on copy of bonus)
* fixed duels, added no-GUI mode for automatic AI testing * minor things
This commit is contained in:
@@ -179,6 +179,10 @@ QueryPtr Queries::topQuery(PlayerColor player)
|
||||
|
||||
void Queries::popIfTop(QueryPtr query)
|
||||
{
|
||||
LOG_TRACE_PARAMS(logGlobal, "query='%d'", query);
|
||||
if(!query)
|
||||
logGlobal->errorStream() << "The query is nullptr! Ignoring.";
|
||||
|
||||
popIfTop(*query);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user