]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/defs.qh
item_key1/item_key2 work now with func_door, new entity: trigger_keylock
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / defs.qh
index 091866a06bf1954484fff7ddcd7f9c142d33daf6..5915773ce20c487c51ae519823edabf2bf2eb470 100644 (file)
@@ -252,6 +252,9 @@ float alreadychangedlevel;
 // spawnflags require key (for now only func_door)
 #define SPAWNFLAGS_GOLD_KEY 8
 #define SPAWNFLAGS_SILVER_KEY 16
+// message delay for func_door locked by keys and key locks
+// this field is used on player entities
+.float key_door_messagetime;
 
 
 .float version;
@@ -669,3 +672,4 @@ float serverflags;
 .float misc_bulletcounter;     // replaces uzi & hlac bullet counter.
 
 void PlayerUseKey();
+