From 45be2cd54117a45074ddd250050747d2c157eaf7 Mon Sep 17 00:00:00 2001 From: Rumble Date: Fri, 27 Dec 2013 20:28:33 -0500 Subject: [PATCH] Update magic.c --- src/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magic.c b/src/magic.c index faca3ee..daa1650 100644 --- a/src/magic.c +++ b/src/magic.c @@ -995,7 +995,7 @@ void mag_rooms(int level, struct char_data *ch, int spellnum) } - if (failure || IdNum == -1) { + if (failure || (event_id)IdNum == -1) { send_to_char(ch, "You failed!\r\n"); return; }