]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stupid typo
authorterencehill <piuntn@gmail.com>
Thu, 29 Dec 2011 17:21:48 +0000 (18:21 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 29 Dec 2011 17:21:48 +0000 (18:21 +0100)
qcsrc/server/t_items.qc

index b0b60821b48997abcf91b3f0a241c2bd20fe3f8c..b688831fa484d1c690336c11eecf670b99233ce0 100644 (file)
@@ -400,7 +400,7 @@ void Item_RespawnCountdown (void)
 
 void Item_ScheduleRespawnIn(entity e, float t)
 {
-       if(e.flags & FL_POWERUP || self.classname == "item_armor_large" || self.items == IT_HEALTH)
+       if(e.flags & FL_POWERUP || e.classname == "item_armor_large" || e.items == IT_HEALTH)
        {
                e.think = Item_RespawnCountdown;
                e.nextthink = time + max(0, t - ITEM_RESPAWN_TICKS);