mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
Fix crash in Hamsandwich with hooked function without return.
This commit is contained in:
parent
e81e7bee13
commit
0f890ce7f1
@ -690,7 +690,7 @@ inline void *CreateGenericTrampoline(bool thiscall, bool voidcall, bool retbuf,
|
||||
}
|
||||
else
|
||||
{
|
||||
tramp.ThisVoidPrologue();
|
||||
tramp.VoidPrologue();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user