mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 19:38:25 +00:00
working PreventBunnyJumping on Windows
This commit is contained in:
parent
7ce6233cf4
commit
5421c6006a
@ -479,7 +479,7 @@ public void OnAdminMenuReady(Handle topmenu)
|
|||||||
|
|
||||||
void LoadDHooks()
|
void LoadDHooks()
|
||||||
{
|
{
|
||||||
Handle gamedataConf = LoadGameConfigFile("shavit.games");
|
GameData gamedataConf = LoadGameConfigFile("shavit.games");
|
||||||
|
|
||||||
if(gamedataConf == null)
|
if(gamedataConf == null)
|
||||||
{
|
{
|
||||||
@ -550,7 +550,7 @@ void LoadDHooks()
|
|||||||
}
|
}
|
||||||
else if (gEV_Type == Engine_TF2 && !gB_Linux)
|
else if (gEV_Type == Engine_TF2 && !gB_Linux)
|
||||||
{
|
{
|
||||||
gI_TF2PreventBunnyJumpingAddr = GameConfGetAddress(gamedataConf, "CTFGameMovement::PreventBunnyJumping");
|
gI_TF2PreventBunnyJumpingAddr = gamedataConf.GetMemSig("CTFGameMovement::PreventBunnyJumping");
|
||||||
|
|
||||||
if (gI_TF2PreventBunnyJumpingAddr == Address_Null)
|
if (gI_TF2PreventBunnyJumpingAddr == Address_Null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user