This commit is contained in:
Paul Coene 2016-11-27 17:17:26 -05:00
parent f5a0b994dc
commit d99df2540d

View File

@ -303,12 +303,10 @@ void Client::GoFish()
int index = zone->random.Int(0, MAX_COMMON_FISH_IDS-1);
food_id = common_fish_ids[index];
}
}
const EQEmu::ItemData* food_item = database.GetItem(food_id);
if (food_item->ItemType != ItemTypeFood) { // non-fish oddity
if (food_item->ItemType != EQEmu::item::ItemTypeFood) {
Message_StringID(MT_Skills, FISHING_SUCCESS);
}
else {