summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite')
-rw-r--r--cheat/internal_rewrite/c_base_weapon.hpp1
-rw-r--r--cheat/internal_rewrite/end_lock.cpp2
-rw-r--r--cheat/internal_rewrite/util.cpp4
3 files changed, 4 insertions, 3 deletions
diff --git a/cheat/internal_rewrite/c_base_weapon.hpp b/cheat/internal_rewrite/c_base_weapon.hpp
index f56770e..f8c1b1c 100644
--- a/cheat/internal_rewrite/c_base_weapon.hpp
+++ b/cheat/internal_rewrite/c_base_weapon.hpp
@@ -49,6 +49,7 @@ enum ItemDefinitionIndex_t {
WEAPON_USP_SILENCER = 61,
WEAPON_CZ75A = 63,
WEAPON_R8REVOLVER = 64,
+ WEAPON_MP5SD = 23,
WEAPON_KNIFE_BAYONET = 500,
WEAPON_KNIFE_FLIP = 505,
WEAPON_KNIFE_GUT = 506,
diff --git a/cheat/internal_rewrite/end_lock.cpp b/cheat/internal_rewrite/end_lock.cpp
index ee81d7a..6a61b48 100644
--- a/cheat/internal_rewrite/end_lock.cpp
+++ b/cheat/internal_rewrite/end_lock.cpp
@@ -5,8 +5,6 @@
#include "context.hpp"
void __fastcall hooks::end_lock( void* ecx, void* edx ) { // THIS IS PROLLY NOT ENDLOCK, BUT WHATEVER
-
-
// signature:
// search "CL_CallPostDataUpdates: missing ent %d" in engine.dll.
// where framestagenotify gets called
diff --git a/cheat/internal_rewrite/util.cpp b/cheat/internal_rewrite/util.cpp
index 1d19f9a..26d6bf4 100644
--- a/cheat/internal_rewrite/util.cpp
+++ b/cheat/internal_rewrite/util.cpp
@@ -562,13 +562,15 @@ const char* util::definition_index_to_name( int index ) {
case WEAPON_KNIFE_T:
return xors( "knife" );
case WEAPON_M4A1_SILENCER:
- return xors( "M4A1" );
+ return xors( "m4a1" );
case WEAPON_USP_SILENCER:
return xors( "usp" );
case WEAPON_CZ75A:
return xors( "cz75" );
case WEAPON_R8REVOLVER:
return xors( "revolver" );
+ case WEAPON_MP5SD:
+ return xors( "mp5-sd" );
default:
return xors( "none" );
}