1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

blockingDialog functions: the answer parameter can be negative

This commit is contained in:
MichalZr6
2024-08-09 00:28:28 +02:00
parent 3f9e57d3f3
commit ffaaa7da15
20 changed files with 26 additions and 26 deletions

View File

@ -186,7 +186,7 @@ void CGPandoraBox::battleFinished(const CGHeroInstance *hero, const BattleResult
}
}
void CGPandoraBox::blockingDialogAnswered(const CGHeroInstance *hero, ui32 answer) const
void CGPandoraBox::blockingDialogAnswered(const CGHeroInstance *hero, int32_t answer) const
{
if(answer)
{