mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Disallow some more switch entities
As reported by ReD
This commit is contained in:
parent
7b721bd7ac
commit
75a2ca613e
|
@ -74,7 +74,7 @@ bool IsValidSwitchTile(int Index)
|
|||
Index == TILE_SUBSTRACT_TIME ||
|
||||
Index == TILE_ALLOW_TELE_GUN ||
|
||||
Index == TILE_ALLOW_BLUE_TELE_GUN ||
|
||||
IsValidEntity(Index));
|
||||
(IsValidEntity(Index) && Index >= ENTITY_OFFSET + ENTITY_ARMOR_1));
|
||||
}
|
||||
|
||||
bool IsValidTuneTile(int Index)
|
||||
|
|
Loading…
Reference in a new issue