From f88e16c5810838e76078ec16b109fdd4d9a1eecf Mon Sep 17 00:00:00 2001 From: lindaandersson Date: Tue, 4 Feb 2014 11:53:40 +0100 Subject: [PATCH] GL - merge --- Code/Game/GameLogic/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Game/GameLogic/Player.cpp b/Code/Game/GameLogic/Player.cpp index 6d6d8bf7..ccd3e8f4 100644 --- a/Code/Game/GameLogic/Player.cpp +++ b/Code/Game/GameLogic/Player.cpp @@ -137,7 +137,7 @@ void Player::Respawn(Oyster::Math::Float3 spawnPoint) this->life = 100; this->playerState = PLAYER_STATE::PLAYER_STATE_IDLE; this->lookDir = Oyster::Math::Float4(1,0,0); - this->setState.SetCenterPosition(spawnPoint); + this->newPhysicsState.SetCenterPosition(spawnPoint); } void Player::Rotate(const Oyster::Math3D::Float4 lookDir)