mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Moved input handling from GuiHandler to set of classes in eventsSDL dir
This commit is contained in:
@@ -251,7 +251,7 @@ void CursorHandler::updateSpellcastCursor()
|
||||
{
|
||||
static const float frameDisplayDuration = 0.1f; // H3 uses 100 ms per frame
|
||||
|
||||
frameTime += GH.framerateManager().getElapsedMilliseconds() / 1000.f;
|
||||
frameTime += GH.framerate().getElapsedMilliseconds() / 1000.f;
|
||||
size_t newFrame = frame;
|
||||
|
||||
while (frameTime >= frameDisplayDuration)
|
||||
|
||||
Reference in New Issue
Block a user