mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Fixed Ninja When lost in strike to freeze
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
parent
045daea3f9
commit
f2a94d37ea
2
bam.lua
2
bam.lua
|
@ -232,7 +232,7 @@ function build(settings)
|
||||||
engine, client, game_editor, zlib, pnglite, wavpack,
|
engine, client, game_editor, zlib, pnglite, wavpack,
|
||||||
client_link_other, client_osxlaunch)
|
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)
|
game_shared, game_server, zlib)
|
||||||
|
|
||||||
serverlaunch = {}
|
serverlaunch = {}
|
||||||
|
|
|
@ -1009,6 +1009,10 @@ bool CCharacter::UnFreeze()
|
||||||
if(m_ActiveWeapon == WEAPON_NINJA)
|
if(m_ActiveWeapon == WEAPON_NINJA)
|
||||||
m_ActiveWeapon = WEAPON_GUN;
|
m_ActiveWeapon = WEAPON_GUN;
|
||||||
SetWeapon(m_ActiveWeapon);
|
SetWeapon(m_ActiveWeapon);
|
||||||
|
m_Ninja.m_ActivationDir=vec2(0,0);
|
||||||
|
m_Ninja.m_ActivationTick=0;
|
||||||
|
m_Ninja.m_CurrentMoveTime=0;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue