diff options
| author | oy <Tom_Adams@web.de> | 2011-05-05 01:43:27 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-05-05 01:43:27 +0200 |
| commit | 5fbf6d0bfd32ab520c6cf67a330c9a2240882750 (patch) | |
| tree | f016fcc0fdb475049be27ac0bf96efccc03de47e /src/game/server/entities/character.cpp | |
| parent | 41ebc9bc9d9bdda650799a6c9dc9a5ed15a55430 (diff) | |
| download | zcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.tar.gz zcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.zip | |
fixed compiler warnings. Closes #679
Diffstat (limited to 'src/game/server/entities/character.cpp')
| -rw-r--r-- | src/game/server/entities/character.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 821aade5..8ab41df3 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -115,8 +115,6 @@ void CCharacter::HandleNinja() if(m_ActiveWeapon != WEAPON_NINJA) return; - vec2 Direction = normalize(vec2(m_LatestInput.m_TargetX, m_LatestInput.m_TargetY)); - if ((Server()->Tick() - m_Ninja.m_ActivationTick) > (g_pData->m_Weapons.m_Ninja.m_Duration * Server()->TickSpeed() / 1000)) { // time's up, return @@ -436,8 +434,6 @@ void CCharacter::HandleWeapons() //ninja HandleNinja(); - vec2 Direction = normalize(vec2(m_LatestInput.m_TargetX, m_LatestInput.m_TargetY)); - // check reload timer if(m_ReloadTimer) { |