Added CRandom functions
Unique RNG namespace for client-side effects and HUDs. Identifiers for these cannot clash with identifiers that affect the playsim making them completely safe to use in HUD elements. They also won't be saved.
This commit is contained in:
parent
4c140224a2
commit
597b06ae52
47 changed files with 214 additions and 155 deletions
|
|
@ -95,7 +95,7 @@
|
|||
#include "s_music.h"
|
||||
#include "d_main.h"
|
||||
|
||||
static FRandom pr_skullpop ("SkullPop");
|
||||
static FRandom pr_skullpop ("SkullPop", false);
|
||||
|
||||
// [SP] Allows respawn in single player
|
||||
CVAR(Bool, sv_singleplayerrespawn, false, CVAR_SERVERINFO | CVAR_CHEAT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue