mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 00:54:05 +02:00
#8 fix
This commit is contained in:
@@ -544,8 +544,11 @@ struct Camera : ICamera {
|
||||
|
||||
if (!firstPerson || viewIndex != -1) {
|
||||
|
||||
if (timer > 0.0f)
|
||||
if (timer > 0.0f) {
|
||||
timer -= Core::deltaTime;
|
||||
if (timer <= 0.0f)
|
||||
resetTarget();
|
||||
}
|
||||
|
||||
TR::Location to;
|
||||
|
||||
|
Reference in New Issue
Block a user