mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-11 02:24:21 +01:00
Fixed NOKILL bug I created by a missing { --Rumble
This commit is contained in:
parent
1779f7a30a
commit
6d80a8a12b
2 changed files with 3 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ int call_magic(struct char_data *caster, struct char_data *cvict,
|
|||
act("White light from no particular source suddenly fills the room, then vanishes.", FALSE, caster, 0, 0, TO_ROOM);
|
||||
return (0);
|
||||
}
|
||||
if (MOB_FLAGGED(cvict, MOB_NOKILL)) {
|
||||
if (cvict && MOB_FLAGGED(cvict, MOB_NOKILL)) {
|
||||
send_to_char(caster, "This mob is protected.\r\n");
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue