mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
fix timer loading
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user