]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/func/door.qc
Support door keys on QL maps
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / door.qc
index f24bdb45b53cc69635f204bbcc2f4e38d4158225..0250b48cf0b7ee87908791f47279a25b15b8269d 100644 (file)
@@ -750,7 +750,7 @@ void door_init_shared(entity this)
 // spawnflags require key (for now only func_door)
 spawnfunc(func_door)
 {
-       // Quake 1 keys compatibility
+       // Quake 1 and QL keys compatibility
        if (this.spawnflags & SPAWNFLAGS_GOLD_KEY)
                this.itemkeys |= ITEM_KEY_BIT(0);
        if (this.spawnflags & SPAWNFLAGS_SILVER_KEY)