mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2026-10-10 04:53:06 +08:00
Commit
This commit is contained in:
Executable
+28
@@ -0,0 +1,28 @@
|
||||
void* Original_Spawn_Grenade_Caller;
|
||||
|
||||
void __thiscall Redirected_Spawn_Grenade(void* Entity)
|
||||
{
|
||||
using Set_Size_Type = void(__thiscall*)(void* Entity, float* Minimum, float* Maximum);
|
||||
|
||||
float Minimum[3] =
|
||||
{
|
||||
-4,
|
||||
|
||||
-4,
|
||||
|
||||
-4
|
||||
};
|
||||
|
||||
float Maximum[3] =
|
||||
{
|
||||
4,
|
||||
|
||||
4,
|
||||
|
||||
4
|
||||
};
|
||||
|
||||
Set_Size_Type((unsigned __int32)Client_Module + 281664)(Entity, Minimum, Maximum);
|
||||
|
||||
(decltype(&Redirected_Spawn_Grenade)(Original_Spawn_Grenade_Caller))(Entity);
|
||||
}
|
||||
Reference in New Issue
Block a user