mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-23 09:26:10 +01:00
Fix most compiler warnings and fix for OSX.
This commit is contained in:
parent
a61c2c6c60
commit
eadcd45b6e
6 changed files with 15 additions and 8 deletions
|
|
@ -971,7 +971,7 @@ void mag_rooms(int level, struct char_data *ch, int spellnum)
|
|||
room_rnum rnum;
|
||||
int duration;
|
||||
bool failure = FALSE;
|
||||
event_id IdNum = -1;
|
||||
event_id IdNum = eNULL;
|
||||
const char *msg = NULL;
|
||||
const char *room = NULL;
|
||||
|
||||
|
|
@ -995,7 +995,7 @@ void mag_rooms(int level, struct char_data *ch, int spellnum)
|
|||
|
||||
}
|
||||
|
||||
if (failure || (event_id)IdNum == -1) {
|
||||
if (failure || IdNum == eNULL) {
|
||||
send_to_char(ch, "You failed!\r\n");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue