]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item.qh
Fixes the invincible portion of #2422 "target_items issues"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item.qh
index 1a71a217db170904944254ed02ddb615209c5603..d095c81347e25414956bbae4ae0fe8fc5ef4b7c4 100644 (file)
@@ -48,7 +48,7 @@ const int IT_PICKUPMASK                       = IT_UNLIMITED_AMMO | IT_UNLIMITED_SUPER
 
 #ifdef SVQC
 .float strength_finished; // NOTE: this field is used only by map entities, it does not directly apply the strength stat
-const .float invincible_finished = _STAT(INVINCIBLE_FINISHED);
+.float invincible_finished; // ditto
 
 #define spawnfunc_body(item) \
        if (!Item_IsDefinitionAllowed(item)) \