From 7bb67b6a8519bd0fd6d9edbd593569ad6510114b Mon Sep 17 00:00:00 2001 From: lindaandersson Date: Fri, 21 Feb 2014 15:56:32 +0100 Subject: [PATCH] sec respawn --- Code/Game/GameLogic/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Game/GameLogic/Player.cpp b/Code/Game/GameLogic/Player.cpp index 16f7f922..69569d44 100644 --- a/Code/Game/GameLogic/Player.cpp +++ b/Code/Game/GameLogic/Player.cpp @@ -30,7 +30,7 @@ Player::Player(Oyster::Physics::ICustomBody *rigidBody, void (*EventOnCollision) key_jump = 0; invincibleCooldown = 0; this->deathTimeLeft = 0; - this->deathTime = 1; + this->deathTime = 5; this->previousPosition = Oyster::Math::Float3(0,0,0); @@ -57,7 +57,7 @@ Player::Player(Oyster::Physics::ICustomBody *rigidBody, Oyster::Physics::ICustom key_jump = 0; invincibleCooldown = 0; this->deathTimeLeft = 0; - this->deathTime = 1; + this->deathTime = 5; this->previousPosition = Oyster::Math::Float3(0,0,0); this->moveDir = Oyster::Math::Float3(0,0,0); this->moveSpeed = 20;