[Dec 17 2009] - Rumble

standardized /n/r to /r/n in ibt.c
  Removed ability to set a modifier to obj apply NONE.
This commit is contained in:
Rumble 2009-12-17 05:45:03 +00:00
parent 828fa48bb3
commit 76905e6910
5 changed files with 37 additions and 32 deletions

View file

@ -1081,7 +1081,7 @@ void oedit_parse(struct descriptor_data *d, char *arg)
return;
case OEDIT_APPLY:
if ((number = atoi(arg)) == 0) {
if (((number = atoi(arg)) == 0) || ((number = atoi(arg)) == 1)) {
OLC_OBJ(d)->affected[OLC_VAL(d)].location = 0;
OLC_OBJ(d)->affected[OLC_VAL(d)].modifier = 0;
oedit_disp_prompt_apply_menu(d);