diff options
author | Mathieu Schroeter <mathieu@schroetersa.ch> | 2017-08-14 22:22:30 +0200 |
---|---|---|
committer | Mathieu Schroeter <mathieu@schroetersa.ch> | 2017-08-14 22:22:30 +0200 |
commit | ea78526ba47e217b3748e3990fd3dab5f7bf6b38 (patch) | |
tree | 29ce09e3770739c6578174a30cba1d55bdbe40c6 /src/obstacle.cxx | |
parent | 2a1128ecefa48d6b4c0174189744da5c45666f31 (diff) |
Add a command line arg to restore old funny bugs
Diffstat (limited to 'src/obstacle.cxx')
-rw-r--r-- | src/obstacle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obstacle.cxx b/src/obstacle.cxx index 998fc66..0e18baa 100644 --- a/src/obstacle.cxx +++ b/src/obstacle.cxx @@ -1761,7 +1761,7 @@ CDecor::IsFreeCelGo (POINT cel, Sint32 rank) // Refuse to go in an enemy factory when the door is open. if ( - channel == CHOBJECT && + !g_restoreBugs && channel == CHOBJECT && (icon == 18 || icon == 101 || icon == 103 || icon == 105 || icon == 116)) return false; |