summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-11-02 16:28:33 +0200
committerMikko Tiusanen <ams@daug.net>2014-11-02 16:28:33 +0200
commitea872a63017c987cb836296c3193703c75241857 (patch)
tree9046b16ec7d94adee150f69ea833297535d5b8d8 /src
parentfd19ccb037e349286e3b72a1277c58079056fcc2 (diff)
Fixed the means of death for hot dog non defensive buildings and armageddon.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c2
-rw-r--r--src/game/g_svcmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 7011827..54b7c32 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2614,7 +2614,7 @@ void G_ArmageddonStep( void )
if (thresholdOther > 0.0f) if (random() < thresholdOther) {
ent->health = -999;
ent->enemy = &g_entities[ ENTITYNUM_WORLD ];
- ent->die( ent, ent->enemy, ent->enemy, 999, MOD_UNKNOWN );
+ ent->die( ent, ent->enemy, ent->enemy, 999, MOD_HDOG );
}
break;
}
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 775b4ed..a54a9ad 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -610,7 +610,7 @@ static void Svcmd_Armageddon_f( void )
{
ent->health = -999;
ent->enemy = &g_entities[ ENTITYNUM_WORLD ];
- ent->die( ent, ent->enemy, ent->enemy, 999, MOD_UNKNOWN );
+ ent->die( ent, ent->enemy, ent->enemy, 999, MOD_HDOG );
}
}