summaryrefslogtreecommitdiff
path: root/src/hexen/h2def.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/h2def.h')
-rw-r--r--src/hexen/h2def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index fa90f6dd..6a4a3a89 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1193,11 +1193,11 @@ void M_ForceUppercase(char *text);
// Changes a string to uppercase
int M_Random(void);
+int P_Random(void);
// returns a number from 0 to 255
extern unsigned char rndtable[256];
extern int prndindex;
-#define P_Random() rndtable[(++prndindex)&0xff]
// as M_Random, but used only by the play simulation
void M_ClearRandom(void);