mirror of
https://github.com/XProger/OpenLara.git
synced 2025-02-24 23:42:49 +01:00
fix timer loading
This commit is contained in:
parent
7f15db1899
commit
0b19529e4f
@ -514,7 +514,7 @@ struct Controller {
|
||||
roomIndex = data.room;
|
||||
}
|
||||
flags.value = e.flags.value ^ data.flags;
|
||||
timer = data.timer == -1 ? -1.0f : (timer / 30.0f);
|
||||
timer = data.timer == -1 ? -1.0f : (data.timer / 30.0f);
|
||||
// animation
|
||||
if (m) animation.setAnim(data.animIndex, -data.animFrame);
|
||||
updateLights(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user