Commit 3087fbb9 authored by nanahira's avatar nanahira

updc

parent 1853e8bf
...@@ -577,9 +577,9 @@ int32 field::get_useable_count(uint8 playerid, uint8 location, uint8 uplayer, ui ...@@ -577,9 +577,9 @@ int32 field::get_useable_count(uint8 playerid, uint8 location, uint8 uplayer, ui
int32 count = get_tofield_count(playerid, location, zone, list, neglect_used); int32 count = get_tofield_count(playerid, location, zone, list, neglect_used);
int32 limit; int32 limit;
if(location == LOCATION_MZONE) if(location == LOCATION_MZONE)
limit = get_mzone_limit(playerid, uplayer, LOCATION_REASON_TOFIELD); limit = get_mzone_limit(playerid, uplayer, reason);
else else
limit = get_szone_limit(playerid, uplayer, LOCATION_REASON_TOFIELD); limit = get_szone_limit(playerid, uplayer, reason);
if(count > limit) if(count > limit)
count = limit; count = limit;
return count; return count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment