From 21381a4e3a91c42efd52561ffb1adc06db187953 Mon Sep 17 00:00:00 2001 From: Tr0n Date: Tue, 9 Apr 2024 17:03:42 +0200 Subject: [PATCH] restore accidentally removed fish logic --- src/game/src/fishing.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/src/fishing.cpp b/src/game/src/fishing.cpp index f6fb777..6ab79c3 100644 --- a/src/game/src/fishing.cpp +++ b/src/game/src/fishing.cpp @@ -387,6 +387,11 @@ int DetermineFish(LPCHARACTER ch) int * p = std::lower_bound(g_prob_accumulate[prob_idx], g_prob_accumulate[prob_idx] + MAX_FISH, rv); int fish_idx = p - g_prob_accumulate[prob_idx]; + DWORD vnum = fish_info[fish_idx].vnum; + + if (vnum == 50008 || vnum == 50009 || vnum == 80008) + return 0; + return (fish_idx); }