diff options
author | Simon Howard | 2008-09-16 00:07:46 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-16 00:07:46 +0000 |
commit | 61e77600041ba534d824943320e7ddddb8e4f6ce (patch) | |
tree | fdaa4805bac62917f560644387ee43187dc08e05 /src/hexen/h2def.h | |
parent | a4d274e6419f89992dfef416ee9deadded533629 (diff) | |
download | chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.tar.gz chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.tar.bz2 chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.zip |
Clean up some warnings in the Hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1232
Diffstat (limited to 'src/hexen/h2def.h')
-rw-r--r-- | src/hexen/h2def.h | 2 |
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); |