Fixed SDKHooks GetMaxHealth callback being passed incorrect parameters.
This commit is contained in:
parent
f52e84730f
commit
462b5213d7
@ -948,6 +948,7 @@ int SDKHooks::Hook_GetMaxHealth()
|
||||
continue;
|
||||
|
||||
callback = g_HookList[i].callback;
|
||||
callback->PushCell(entity);
|
||||
callback->PushCellByRef(&new_max);
|
||||
callback->Execute(&res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user