]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/defs.qh
Add an intrusive list for entities that are damaged by contents (liquids etc)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / defs.qh
index a6bd1552d2250d7c0a2ee1895173586b4f9ab81f..9a53c1305966368ffed9c2cacb9251fc5c1ceac1 100644 (file)
@@ -429,6 +429,9 @@ const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI;
 .bool init_for_player_needed;
 .void(entity this, entity player) init_for_player;
 
+IntrusiveList g_damagedbycontents;
+STATIC_INIT(g_damagedbycontents) { g_damagedbycontents = IL_NEW(); }
+
 IntrusiveList g_monsters;
 STATIC_INIT(g_monsters) { g_monsters = IL_NEW(); }