mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #4838. Prevent leaving ghosts with small scenery
Issue was caused by placing two ghost scenery items when using the scenery placement tool. The ghost clean up code would only remove the first ghost and leave the second ghost. Mistake caused when refactoring. Incorrect use of NOT and AND.
This commit is contained in:
parent
46fbac9564
commit
6c8e0cc536
|
@ -3195,7 +3195,7 @@ void game_command_place_scenery(int* eax, int* ebx, int* ecx, int* edx, int* esi
|
|||
*ebx = 0;
|
||||
}
|
||||
|
||||
if (!flags & GAME_COMMAND_FLAG_APPLY) {
|
||||
if (!(flags & GAME_COMMAND_FLAG_APPLY)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue