should quell the error message i suppose
This commit is contained in:
parent
71d8773767
commit
509bd521fb
@ -234,10 +234,11 @@ public MRESReturn TryPlayerMove_Dhook(Address pThis, Handle hReturn, Handle hPar
|
|||||||
Address pFirstTrace = DHookGetParam(hParams, 2);
|
Address pFirstTrace = DHookGetParam(hParams, 2);
|
||||||
|
|
||||||
DHookSetReturn(hReturn, TryPlayerMove(view_as<CGameMovement>(pThis), view_as<Vector>(pFirstDest), view_as<CGameTrace>(pFirstTrace)));
|
DHookSetReturn(hReturn, TryPlayerMove(view_as<CGameMovement>(pThis), view_as<Vector>(pFirstDest), view_as<CGameTrace>(pFirstTrace)));
|
||||||
}
|
|
||||||
|
|
||||||
return MRES_Supercede;
|
return MRES_Supercede;
|
||||||
}
|
}
|
||||||
|
return MRES_Ignored;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
int TryPlayerMove(CGameMovement pThis, Vector pFirstDest, CGameTrace pFirstTrace)
|
int TryPlayerMove(CGameMovement pThis, Vector pFirstDest, CGameTrace pFirstTrace)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user