diff --git a/samples/threat_level/src/PlayerDirector.cpp b/samples/threat_level/src/PlayerDirector.cpp index 37d6f7da3..f47dc186b 100644 --- a/samples/threat_level/src/PlayerDirector.cpp +++ b/samples/threat_level/src/PlayerDirector.cpp @@ -173,7 +173,7 @@ void PlayerDirector::handleMessage(const cro::Message& msg) { pi.state = PlayerInfo::State::Dead; - entity.getComponent().setRotation(cro::Transform::QUAT_IDENTY); + entity.getComponent().setRotation(cro::Transform::QUAT_IDENTITY); entity.getComponent().setPosition({ -15.4f, 0.f, -9.3f }); entity.getComponent().velocity = glm::vec3(); entity.getComponent().stop(); diff --git a/samples/threat_level/src/PlayerSystem.cpp b/samples/threat_level/src/PlayerSystem.cpp index b0f802130..17fc4f85a 100644 --- a/samples/threat_level/src/PlayerSystem.cpp +++ b/samples/threat_level/src/PlayerSystem.cpp @@ -311,7 +311,7 @@ void PlayerSystem::updateDying(cro::Entity entity, float dt) if (tx.getWorldPosition().y < -3.f) { tx.setPosition(initialPosition); - tx.setRotation(cro::Transform::QUAT_IDENTY); + tx.setRotation(cro::Transform::QUAT_IDENTITY); entity.getComponent().velocity = glm::vec3(0.f); entity.getComponent().state = PlayerInfo::State::Dead; m_respawnTime = 1.f;