2
0
Эх сурвалжийг харах

Animated spellcasting cursor now has same speed as in H3

Ivan Savenko 2 жил өмнө
parent
commit
f1647cc3bb

+ 1 - 1
client/gui/CursorHandler.cpp

@@ -260,7 +260,7 @@ void CursorHandler::centerCursor()
 
 void CursorHandler::updateSpellcastCursor()
 {
-	static const float frameDisplayDuration = 0.1f;
+	static const float frameDisplayDuration = 5.0 / 60.0; // H3 uses ~83 ms per image = 5 / 60 second
 
 	frameTime += GH.mainFPSmng->getElapsedMilliseconds() / 1000.f;
 	size_t newFrame = frame;