mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-25 04:51:44 +01:00
Fixed alias saving bug and oedit setting to type undefined --Rumble
This commit is contained in:
@@ -868,7 +868,7 @@ void oedit_parse(struct descriptor_data *d, char *arg)
|
||||
|
||||
case OEDIT_TYPE:
|
||||
number = atoi(arg);
|
||||
if ((number < 1) || (number >= NUM_ITEM_TYPES)) {
|
||||
if ((number < 0) || (number >= NUM_ITEM_TYPES)) {
|
||||
write_to_output(d, "Invalid choice, try again : ");
|
||||
return;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user