Skip to content

Commit

Permalink
Merge pull request #46 from actionquake/minch
Browse files Browse the repository at this point in the history
Adds new HC kill message in memory of Minch
  • Loading branch information
darkshade9 authored Sep 4, 2022
2 parents 04ec5b2 + b7ce54a commit b4b15fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/p_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ void ClientObituary(edict_t * self, edict_t * inflictor, edict_t * attacker)
}
break;
case MOD_HC:
n = rand() % 2 + 1;
n = rand() % 3 + 1;
if (n == 1) {
if (attacker->client->pers.hc_mode) // AQ2:TNG Deathwatch - Single Barreled HC Death Messages
{
Expand All @@ -984,15 +984,18 @@ void ClientObituary(edict_t * self, edict_t * inflictor, edict_t * attacker)
message = " ate";
message2 = "'s sawed-off 12 gauge";
}
} else {
} else if (n == 2 ){
if (attacker->client->pers.hc_mode) // AQ2:TNG Deathwatch - Single Barreled HC Death Messages
{
message = " won't be able to pass a metal detector anymore thanks to";
message2 = "'s single barreled handcannon shot";
} else {
message = " is full of buckshot from";
message2 = "'s sawed off shotgun";
}
}
} else {
// minch <3
message = " was minched by";
}
break;
case MOD_SNIPER:
Expand Down

0 comments on commit b4b15fa

Please sign in to comment.