]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_damage.qc
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_damage.qc
index 788eb345fa3d81702103714db1e6295747301097..0adae54b2e0286f7cf4ea52dc1c33528dd3de4aa 100644 (file)
@@ -293,10 +293,10 @@ float Obituary_WeaponDeath(
        if(death_weapon)
        {
                w_deathtype = deathtype;
        if(death_weapon)
        {
                w_deathtype = deathtype;
-               float death_message = WEP_ACTION(death_weapon, ((murder) ? WR_KILLMESSAGE : WR_SUICIDEMESSAGE));
+               int death_message = WEP_ACTION(death_weapon, ((murder) ? WR_KILLMESSAGE : WR_SUICIDEMESSAGE));
                w_deathtype = false;
 
                w_deathtype = false;
 
-               if(death_message)
+               if (death_message)
                {
                        Send_Notification_WOCOVA(
                                NOTIF_ONE,
                {
                        Send_Notification_WOCOVA(
                                NOTIF_ONE,