Browse Source

Initialize cursor currentFrame to 0 to avoid stall

Michał Zaremba 1 month ago
parent
commit
d01cecdaca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/gui/CursorHandler.h

+ 1 - 1
client/gui/CursorHandler.h

@@ -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;