mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 14:29:52 +00:00
[saco] Implement/match SetFarClipHook()
This commit is contained in:
parent
94f0f68c61
commit
db5e0d9f83
@ -507,6 +507,17 @@ NUDE RadarTranslateColor()
|
|||||||
_asm ret
|
_asm ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
NUDE SetFarClipHook()
|
||||||
|
{
|
||||||
|
_asm fld fFarClip
|
||||||
|
_asm push esi
|
||||||
|
_asm mov esi, [esp+8]
|
||||||
|
_asm mov edx, dwFarClipReturnAddr
|
||||||
|
_asm jmp edx
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
// We use this to trap and exit the game
|
// We use this to trap and exit the game
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user