X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fitems%2Fspawning.qh;h=223eb57fbf500180fc5ffee3920fa38d37abcd33;hb=9d63bcaed353f093ad6297774e08c979a0135776;hp=7b19292c614a99ccc1a4c75af4e9c5e02f116228;hpb=0f35bc8117859f49ee7d77def029f1a1eeebc29a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/items/spawning.qh b/qcsrc/server/items/spawning.qh index 7b19292c6..223eb57fb 100644 --- a/qcsrc/server/items/spawning.qh +++ b/qcsrc/server/items/spawning.qh @@ -45,7 +45,7 @@ bool Item_Initialise(entity item); /// \param[in] item Item to check. /// \return True if item should keep its position or false if it should be /// dropped to the ground. -#define ITEM_SHOULD_KEEP_POSITION(item) (item.noalign || item.spawnflags & 1) +#define ITEM_SHOULD_KEEP_POSITION(item) (item.noalign || (item.spawnflags & 1)) /// \brief Returns whether the item is expiring (i.e. its strength, shield and /// superweapon timers expire while it is on the ground).