From 61e77600041ba534d824943320e7ddddb8e4f6ce Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 16 Sep 2008 00:07:46 +0000 Subject: Clean up some warnings in the Hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1232 --- src/hexen/h2def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hexen/h2def.h') 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); -- cgit v1.2.3