mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Make possible to play with different timers independently
This commit is contained in:
@ -14,12 +14,12 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
bool TurnTimerInfo::isEnabled() const
|
||||
{
|
||||
return turnTimer > 0;
|
||||
return turnTimer > 0 || baseTimer > 0;
|
||||
}
|
||||
|
||||
bool TurnTimerInfo::isBattleEnabled() const
|
||||
{
|
||||
return creatureTimer > 0;
|
||||
return creatureTimer > 0 || battleTimer > 0;
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user