Fix #14854. Accidental double inversion (#14855)

This commit is contained in:
Duncan 2021-06-08 22:09:31 +01:00 committed by GitHub
parent 1031be9078
commit b0af3abb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ namespace OpenRCT2::TileInspector
GameActionResultPtr InsertCorruptElementAt(const CoordsXY& loc, int16_t elementIndex, bool isExecuting)
{
// Make sure there is enough space for the new element
if (!!MapCheckCapacityAndReorganise(loc))
if (!MapCheckCapacityAndReorganise(loc))
return std::make_unique<GameActions::Result>(GameActions::Status::NoFreeElements, STR_NONE);
if (isExecuting)
@ -359,7 +359,7 @@ namespace OpenRCT2::TileInspector
GameActionResultPtr PasteElementAt(const CoordsXY& loc, TileElement element, bool isExecuting)
{
// Make sure there is enough space for the new element
if (!!MapCheckCapacityAndReorganise(loc))
if (!MapCheckCapacityAndReorganise(loc))
{
return std::make_unique<GameActions::Result>(GameActions::Status::NoFreeElements, STR_NONE);
}