restore accidentally removed fish logic

This commit is contained in:
Tr0n 2024-04-09 17:03:42 +02:00
parent ba44269071
commit 21381a4e3a
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}