1
0

Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel()

This commit is contained in:
Howaner
2014-07-02 14:46:00 +02:00
parent 5a888f0a51
commit 4a9002045b
5 changed files with 6 additions and 6 deletions

View File

@@ -695,7 +695,7 @@ bool cPluginManager::CallHookPlayerEating(cPlayer & a_Player)
bool cPluginManager::CallHookPlayerFoodLevelChange(cPlayer & a_Player, int & a_NewFoodLevel)
bool cPluginManager::CallHookPlayerFoodLevelChange(cPlayer & a_Player, int a_NewFoodLevel)
{
FIND_HOOK(HOOK_PLAYER_FOOD_LEVEL_CHANGE);
VERIFY_HOOK;