diff options
| author | boris <wzn@moneybot.cc> | 2018-11-29 14:09:24 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-29 14:09:24 +1300 |
| commit | 64bf2cc1c0ae18adbebfb7afa29268de3f529ce0 (patch) | |
| tree | 7218fe3a5c0237b4de605111218d97fbf6491e0b | |
| parent | f3e9e0adc48dc6a78527a078c847f326cfd21469 (diff) | |
fixed mild annoyances
| -rw-r--r-- | cheat/internal_rewrite/c_base_weapon.hpp | 1 | ||||
| -rw-r--r-- | cheat/internal_rewrite/end_lock.cpp | 2 | ||||
| -rw-r--r-- | cheat/internal_rewrite/util.cpp | 4 |
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" );
}
|
