From d99df2540d11c33bd01822e15e70a2f8e08d13a3 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Sun, 27 Nov 2016 17:17:26 -0500 Subject: [PATCH] Fix typo --- zone/forage.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zone/forage.cpp b/zone/forage.cpp index 92fde80b5..7bb87bf6c 100644 --- a/zone/forage.cpp +++ b/zone/forage.cpp @@ -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 {