1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Remove uninitialized variable

This commit is contained in:
nordsoft 2023-08-19 18:59:31 +04:00
parent 647c7c15a3
commit 2fff74deea

View File

@ -37,7 +37,7 @@ void TurnTimerWidget::DrawRect::showAll(Canvas & to)
TurnTimerWidget::TurnTimerWidget():
InterfaceObjectConfigurable(TIME),
turnTime(0), lastTurnTime(0)
turnTime(0), lastTurnTime(0), cachedTurnTime(0)
{
REGISTER_BUILDER("drawRect", &TurnTimerWidget::buildDrawRect);