Fixed SDKHooks GetMaxHealth callback being passed incorrect parameters.

This commit is contained in:
Nicholas Hastings 2013-03-02 13:42:07 -05:00
parent f52e84730f
commit 462b5213d7

View File

@ -948,6 +948,7 @@ int SDKHooks::Hook_GetMaxHealth()
continue;
callback = g_HookList[i].callback;
callback->PushCell(entity);
callback->PushCellByRef(&new_max);
callback->Execute(&res);
}