瀏覽代碼

Animated spellcasting cursor now has same speed as in H3

Ivan Savenko 2 年之前
父節點
當前提交
f1647cc3bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/gui/CursorHandler.cpp

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