From 6c3ef0002eb75267c2bf8f42430928adb5820059 Mon Sep 17 00:00:00 2001 From: Steffen Ohrendorf Date: Sat, 19 Mar 2022 14:36:03 +0100 Subject: [PATCH] add missing mesh updates for lara fixes EE-461 --- src/engine/objects/laraobject.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/objects/laraobject.cpp b/src/engine/objects/laraobject.cpp index 32b6a5927..5590b571f 100644 --- a/src/engine/objects/laraobject.cpp +++ b/src/engine/objects/laraobject.cpp @@ -241,6 +241,9 @@ void LaraObject::handleLaraStateDiving() updateFloorHeight(0_len); updateLarasWeaponsStatus(); getWorld().handleCommandSequence(collisionInfo.mid.floor.lastCommandSequenceOrDeath, false); + + drawRoutine(); + applyTransform(); } void LaraObject::handleLaraStateSwimming() @@ -294,6 +297,9 @@ void LaraObject::handleLaraStateSwimming() updateFloorHeight(core::DefaultCollisionRadius); updateLarasWeaponsStatus(); getWorld().handleCommandSequence(collisionInfo.mid.floor.lastCommandSequenceOrDeath, false); + + drawRoutine(); + applyTransform(); } void LaraObject::placeOnFloor(const CollisionInfo& collisionInfo)