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