mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Fix Sec Codes
This commit is contained in:
parent
73b4e073ff
commit
e22eca485d
4 changed files with 675 additions and 674 deletions
|
@ -68,17 +68,21 @@ namespace HISP.Game
|
|||
if ((!terrainPassable && overlayPassable) && otileId == 0)
|
||||
return false;
|
||||
|
||||
bool passable = false;
|
||||
if (!overlayPassable)
|
||||
return false;
|
||||
passable = false;
|
||||
if (!terrainPassable)
|
||||
return false;
|
||||
passable = false;
|
||||
|
||||
if (!passable && overlayPassable)
|
||||
passable = true;
|
||||
|
||||
|
||||
|
||||
|
||||
Logger.DebugPrint("Overlay: " + otileId + " Terrain: " + tileId);
|
||||
|
||||
return true;
|
||||
return passable;
|
||||
}
|
||||
|
||||
public static void OpenMap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue