From ff482217974373b518b8068e4bacf87f3f018d5d Mon Sep 17 00:00:00 2001 From: 12pm <30786226+12pm@users.noreply.github.com> Date: Tue, 2 Apr 2019 22:55:12 +0200 Subject: [PATCH] Validate game layer hookthrough shortcut Fixes #1556 --- src/game/mapitems.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/mapitems.cpp b/src/game/mapitems.cpp index 6decc4ac2..15a3baf9f 100644 --- a/src/game/mapitems.cpp +++ b/src/game/mapitems.cpp @@ -4,8 +4,7 @@ bool IsValidGameTile(int Index) { return ( Index == TILE_AIR - || (Index >= TILE_SOLID && Index <= TILE_NOLASER) - || Index == TILE_THROUGH + || (Index >= TILE_SOLID && Index <= TILE_THROUGH) || Index == TILE_FREEZE || (Index >= TILE_UNFREEZE && Index <= TILE_DUNFREEZE) || (Index >= TILE_WALLJUMP && Index <= TILE_SOLO_END)