mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- rename STD_RANDOM_RANGE
This commit is contained in:
parent
d957540258
commit
297921204f
14 changed files with 38 additions and 39 deletions
|
@ -5332,7 +5332,7 @@ const char *SuicideNote[MAX_SUICIDE] =
|
|||
char *KilledPlayerMessage(PLAYERp pp, PLAYERp killer)
|
||||
{
|
||||
const int MAX_KILL_NOTES = 16;
|
||||
short rnd = STD_RANDOM_RANGE(MAX_KILL_NOTES);
|
||||
short rnd = StdRandomRange(MAX_KILL_NOTES);
|
||||
const char *p1 = pp->PlayerName;
|
||||
const char *p2 = killer->PlayerName;
|
||||
|
||||
|
@ -5405,7 +5405,7 @@ void DoPlayerDeathMessage(PLAYERp pp, PLAYERp killer)
|
|||
|
||||
if (pp == killer && pp == Player + myconnectindex)
|
||||
{
|
||||
sprintf(ds,"%s %s",pp->PlayerName,SuicideNote[STD_RANDOM_RANGE(MAX_SUICIDE)]);
|
||||
sprintf(ds,"%s %s",pp->PlayerName,SuicideNote[StdRandomRange(MAX_SUICIDE)]);
|
||||
SEND_OK = true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue