1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Rename map element fence to wall

This commit is contained in:
duncanspumpkin
2017-02-20 21:10:49 +00:00
parent f54c71b61c
commit 810bf301f3
14 changed files with 79 additions and 79 deletions

View File

@@ -490,9 +490,9 @@ void viewport_interaction_remove_park_entrance(rct_map_element *mapElement, sint
*/
static void viewport_interaction_remove_park_wall(rct_map_element *mapElement, sint32 x, sint32 y)
{
rct_scenery_entry *sceneryEntry = get_wall_entry(mapElement->properties.fence.type);
rct_scenery_entry *sceneryEntry = get_wall_entry(mapElement->properties.wall.type);
if (sceneryEntry->wall.scrolling_mode != 0xFF){
window_sign_small_open(mapElement->properties.fence.banner_index);
window_sign_small_open(mapElement->properties.wall.banner_index);
} else {
gGameCommandErrorTitle = STR_CANT_REMOVE_THIS;
game_do_command(