Fix #5265. Queue TV's now correctly detected.

Due to a mistake when implementing only ghost queue TV's were used for increasing peep happiness
This commit is contained in:
duncanspumpkin 2017-03-07 21:13:45 +00:00
parent 8bd374f9dd
commit 5bd44a6d3f
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ static void sub_68F41A(rct_peep *peep, sint32 index)
continue;
// Check if the footpath has a queue line TV monitor on it
if (footpath_element_has_path_scenery(mapElement) && footpath_element_path_scenery_is_ghost(mapElement)){
if (footpath_element_has_path_scenery(mapElement) && !footpath_element_path_scenery_is_ghost(mapElement)){
uint8 pathSceneryIndex = footpath_element_get_path_scenery_index(mapElement);
rct_scenery_entry *sceneryEntry = get_footpath_item_entry(pathSceneryIndex);
if (sceneryEntry->path_bit.flags & PATH_BIT_FLAG_IS_QUEUE_SCREEN){