Skip to content

Commit

Permalink
Fix consumption
Browse files Browse the repository at this point in the history
Ahh not too sure why this is needed. We used the other field before
and the client is still displaying correct item clicky cast times
as well as food duration string ... Oh well
  • Loading branch information
mackal committed May 17, 2017
1 parent abeeb80 commit 9277665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zone/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8501,7 +8501,7 @@ void Client::Consume(const EQEmu::ItemData *item, uint8 type, int16 slot, bool a

if (type == EQEmu::item::ItemTypeFood)
{
int hchange = item->CastTime * cons_mod;
int hchange = item->CastTime_ * cons_mod;
hchange = mod_food_value(item, hchange);

if(hchange < 0) { return; }
Expand All @@ -8518,7 +8518,7 @@ void Client::Consume(const EQEmu::ItemData *item, uint8 type, int16 slot, bool a
}
else
{
int tchange = item->CastTime * cons_mod;
int tchange = item->CastTime_ * cons_mod;
tchange = mod_drink_value(item, tchange);

if(tchange < 0) { return; }
Expand Down

0 comments on commit 9277665

Please sign in to comment.