restore accidentally removed fish logic
This commit is contained in:
parent
ba44269071
commit
21381a4e3a
@ -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 * 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];
|
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);
|
return (fish_idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user