1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Initialize cursor currentFrame to 0 to avoid stall

This commit is contained in:
Michał Zaremba
2025-10-29 18:17:02 +01:00
parent e937ebe0bc
commit d01cecdaca

View File

@@ -132,7 +132,7 @@ class CursorHandler final
Point pos;
float frameTime;
int32_t currentCursorIndex;
int32_t currentFrame;
int32_t currentFrame {};
Cursor::ShowType showType;
bool showing;