Still more enums

This commit is contained in:
Pasi Kallinen
2018-03-31 11:43:38 +03:00
parent 9b7e146807
commit ebde14a6f9
7 changed files with 73 additions and 60 deletions
+4 -4
View File
@@ -478,10 +478,10 @@ struct obj *instr;
pc_speaker(&itmp, "C");
#endif
#define PLAY_NORMAL 0
#define PLAY_STUNNED 1
#define PLAY_CONFUSED 2
#define PLAY_HALLU 4
#define PLAY_NORMAL 0x00
#define PLAY_STUNNED 0x01
#define PLAY_CONFUSED 0x02
#define PLAY_HALLU 0x04
mode = PLAY_NORMAL;
if (Stunned)
mode |= PLAY_STUNNED;