]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/items/items.qc
powerups: use Item_Think() for dropped powerups
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / items / items.qc
index 0f764c8627fca5aa90d8867f9937e508d353ba3e..7c3fd969b5f7f6929a814bdb52500eccb4cdf2e1 100644 (file)
@@ -202,6 +202,9 @@ void Item_Think(entity this)
                        }
                }
 
+               if (this.itemdef.instanceOfPowerup)
+                       powerups_DropItem_Think(this);
+
                // enable pickup by the player who threw it
                this.owner = NULL;