diff options
| author | Quietust | 2012-02-18 11:36:06 -0600 |
|---|---|---|
| committer | Quietust | 2012-02-18 11:36:06 -0600 |
| commit | e4a0b2aaf92419722cd1271b658f70653726ae21 (patch) | |
| tree | 1a2e9d0c9c06175f2528cb8f7785eb45aba8b501 /plugins/tiletypes.cpp | |
| parent | d394dc406bffee23fb8b3586dd10ee78f2954503 (diff) | |
| download | dfhack-e4a0b2aaf92419722cd1271b658f70653726ae21.tar.gz dfhack-e4a0b2aaf92419722cd1271b658f70653726ae21.tar.bz2 dfhack-e4a0b2aaf92419722cd1271b658f70653726ae21.tar.xz | |
Fix reveal and tiletypes - RIVER and POOL are no longer tile shapes
Diffstat (limited to 'plugins/tiletypes.cpp')
| -rw-r--r-- | plugins/tiletypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tiletypes.cpp b/plugins/tiletypes.cpp index 3d18cc77..90fbf73e 100644 --- a/plugins/tiletypes.cpp +++ b/plugins/tiletypes.cpp @@ -850,7 +850,7 @@ command_result df_tiletypes (Core * c, vector <string> & parameters) */ // Remove direction from directionless tiles DFHack::TileDirection direction = tileDirection(source); - if (!(shape == tiletype_shape::RIVER_BED || shape == tiletype_shape::BROOK_BED || shape == tiletype_shape::WALL && (material == tiletype_material::CONSTRUCTION || special == tiletype_special::SMOOTH))) { + if (!(material == tiletype_material::RIVER || shape == tiletype_shape::BROOK_BED || shape == tiletype_shape::WALL && (material == tiletype_material::CONSTRUCTION || special == tiletype_special::SMOOTH))) { direction.whole = 0; } |
