#include "../t_items.qh"
#include "../../common/constants.qh"
-#include "../../common/deathtypes.qh"
+#include "../../common/deathtypes/all.qh"
#include "../../common/notifications.qh"
#include "../../common/util.qh"
#include "../../common/weapons/all.qh"
float W_CheckProjectileDamage(entity inflictor, entity projowner, int deathtype, float exception)
{
- float is_from_contents = (deathtype == DEATH_SLIME || deathtype == DEATH_LAVA);
+ float is_from_contents = (deathtype == DEATH_SLIME.m_id || deathtype == DEATH_LAVA.m_id);
float is_from_owner = (inflictor == projowner);
float is_from_exception = (exception != -1);