mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-22 17:06:10 +01:00
[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:
parent
828fa48bb3
commit
76905e6910
5 changed files with 37 additions and 32 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue