Fixed Ninja When lost in strike to freeze

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
GreYFoXGTi 2010-08-22 15:12:30 +02:00
parent 045daea3f9
commit f2a94d37ea
2 changed files with 5 additions and 1 deletions

View file

@ -232,7 +232,7 @@ function build(settings)
engine, client, game_editor, zlib, pnglite, wavpack,
client_link_other, client_osxlaunch)
server_exe = Link(server_settings, "DDRace_Trunk", engine, server,
server_exe = Link(server_settings, "DDRace_Trunk-Server-Server", engine, server,
game_shared, game_server, zlib)
serverlaunch = {}

View file

@ -1009,6 +1009,10 @@ bool CCharacter::UnFreeze()
if(m_ActiveWeapon == WEAPON_NINJA)
m_ActiveWeapon = WEAPON_GUN;
SetWeapon(m_ActiveWeapon);
m_Ninja.m_ActivationDir=vec2(0,0);
m_Ninja.m_ActivationTick=0;
m_Ninja.m_CurrentMoveTime=0;
return true;
}
return false;