MapGridIsImpassableAt -> MapGridGetCollisionAt, and add fixes
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ static bool32 CanFish(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (MetatileBehavior_IsSurfableWaterOrUnderwater(tileBehavior) && !MapGridIsImpassableAt(x, y))
|
||||
if (MetatileBehavior_IsSurfableWaterOrUnderwater(tileBehavior) && MapGridGetCollisionAt(x, y) == 0)
|
||||
return TRUE;
|
||||
if (MetatileBehavior_IsBridgeOverWaterNoEdge(tileBehavior) == TRUE)
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user