mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
HDB: Make animations follow the requested framerate
This commit is contained in:
parent
224658a1ba
commit
b697371154
@ -1724,6 +1724,8 @@ void AI::moveEnts() {
|
||||
if (frameDelay-- > 0)
|
||||
return;
|
||||
|
||||
frameDelay = kAnimFrameDelay;
|
||||
|
||||
// Call aiAction for Floating Entities
|
||||
for (Common::Array<AIEntity *>::iterator it = _floats->begin(); it != _floats->end(); it++) {
|
||||
if ((*it)->aiAction)
|
||||
|
Loading…
x
Reference in New Issue
Block a user