mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #1565
1565: Validate game layer hookthrough shortcut r=def- a=12pm Fixes #1556 Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
This commit is contained in:
commit
e2b558335b
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue