diff --git a/dlls/ts/tsx/MsgFunc.h b/dlls/ts/tsx/MsgFunc.h index 747021c2..126af037 100644 --- a/dlls/ts/tsx/MsgFunc.h +++ b/dlls/ts/tsx/MsgFunc.h @@ -141,7 +141,7 @@ void Client_TSHealth_End(void* mValue) pAttacker = GET_PLAYER_POINTER( (edict_t*)pOwner ); - weapon = 37; // throwing knife + //weapon = 37; // throwing knife aim = pAttacker->aiming; pAttacker->saveHit( mPlayer , weapon , damage, aim ); } diff --git a/dlls/ts/tsx/Utils.cpp b/dlls/ts/tsx/Utils.cpp index 0047a311..6732968e 100755 --- a/dlls/ts/tsx/Utils.cpp +++ b/dlls/ts/tsx/Utils.cpp @@ -58,7 +58,7 @@ weapon_t weaponData[] = { { 0,"Glock-20C","glock-20c",1 }, { 0,"UMP", "ump",1 }, { 0,"M61 Grenade","m61_grenade",1 }, - { 1,"Combat Knife","combat_knife",1 }, + { 1,"Combat Knife","combat_knife", 2 }, { 0,"MOSSBERG 500","mossberg_500",1 }, { 0,"M16A4","m16a4",1 }, { 0,"Ruger-MK1","ruger-mk1",1 }, @@ -68,7 +68,7 @@ weapon_t weaponData[] = { { 0,"M60E3","m60e3",1 }, { 0,"Sawed-off","sawed-off",1 }, // 33 { 1,"Katana", "katana",2 }, - { 1,"Seal Knife","seal_knife",1 }, // 35 + { 1,"Seal Knife","seal_knife",2 }, // 35 { 1,"Kung Fu","kung_fu",3 }, // Again new id 36 { 1,"Throwing Knife","throwing_knife",2 }, // new id 37 { 0,"breakable", "breakable", 1 }, diff --git a/dlls/ts/tsx/msvc/tsx_amxx.vcproj b/dlls/ts/tsx/msvc/tsx_amxx.vcproj index 93c3b3ae..537e27d6 100755 --- a/dlls/ts/tsx/msvc/tsx_amxx.vcproj +++ b/dlls/ts/tsx/msvc/tsx_amxx.vcproj @@ -214,6 +214,9 @@ BrowseInformation="1"/> + +