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:
duncanspumpkin 2016-11-30 19:09:45 +00:00
parent 46fbac9564
commit 6c8e0cc536
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}