[saco] Implement/match SetFarClipHook()

This commit is contained in:
RD42 2024-10-15 15:02:31 +08:00
parent 94f0f68c61
commit db5e0d9f83

View File

@ -507,6 +507,17 @@ NUDE RadarTranslateColor()
_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