]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/func/door.qc
Remove key-specific BIT macro
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / func / door.qc
index 0250b48cf0b7ee87908791f47279a25b15b8269d..25e9ba844e75e89a5752569f2e81d2f061bd6b4f 100644 (file)
@@ -752,9 +752,9 @@ spawnfunc(func_door)
 {
        // Quake 1 and QL keys compatibility
        if (this.spawnflags & SPAWNFLAGS_GOLD_KEY)
-               this.itemkeys |= ITEM_KEY_BIT(0);
+               this.itemkeys |= BIT(0);
        if (this.spawnflags & SPAWNFLAGS_SILVER_KEY)
-               this.itemkeys |= ITEM_KEY_BIT(1);
+               this.itemkeys |= BIT(1);
 
        SetMovedir(this);