mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 01:24:35 +02:00
fix timer loading
This commit is contained in:
@@ -514,7 +514,7 @@ struct Controller {
|
|||||||
roomIndex = data.room;
|
roomIndex = data.room;
|
||||||
}
|
}
|
||||||
flags.value = e.flags.value ^ data.flags;
|
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
|
// animation
|
||||||
if (m) animation.setAnim(data.animIndex, -data.animFrame);
|
if (m) animation.setAnim(data.animIndex, -data.animFrame);
|
||||||
updateLights(false);
|
updateLights(false);
|
||||||
|
Reference in New Issue
Block a user