(get_empobj_chr, obj_nameof): Switch CANT_HAPPEN() to
CANT_REACH(). (get_empobj_mob_max): Remove carriage return.
This commit is contained in:
parent
5f6e5ef4b1
commit
22e529a93d
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ obj_nameof(struct empobj *gp)
|
|||
case EF_NUKE:
|
||||
return prnuke((struct nukstr *)gp);
|
||||
}
|
||||
CANT_HAPPEN("unsupported TYPE");
|
||||
CANT_REACH();
|
||||
return "";
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ get_empobj_chr(struct empobj *gp)
|
|||
case EF_SECTOR:
|
||||
return &dchr[(int)gp->type];
|
||||
default:
|
||||
CANT_HAPPEN("unsupported TYPE");
|
||||
CANT_REACH();
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue