mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-27 12:38:49 +01:00
Added cases for missing object types (oedit_disp_val1_menu) --Jamdog
This commit is contained in:
parent
b8b3659bcf
commit
a2801b75a9
2 changed files with 11 additions and 2 deletions
|
|
@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)t
|
|||
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
||||
(lots of major bugfixes too)
|
||||
tbaMUD 3.59
|
||||
[Jan 25 2009] - Jamdog
|
||||
Added cases for missing object types in oedit_disp_val1_menu (other, worn, treasure, trash, key, pen, boat)
|
||||
[Jan 25 2009] - Rumble
|
||||
Fixed pardon. (thanks Echos-Ironcastle)
|
||||
[Jan 24 2009] - Rumble
|
||||
|
|
|
|||
11
src/oedit.c
11
src/oedit.c
|
|
@ -60,7 +60,7 @@ ACMD(do_oasis_oedit)
|
|||
/* No building as a mob or while being forced. */
|
||||
if (IS_NPC(ch) || !ch->desc || STATE(ch->desc) != CON_PLAYING)
|
||||
return;
|
||||
|
||||
|
||||
/* Parse any arguments. */
|
||||
buf3 = two_arguments(argument, buf1, buf2);
|
||||
|
||||
|
|
@ -447,7 +447,14 @@ static void oedit_disp_val1_menu(struct descriptor_data *d)
|
|||
case ITEM_FURNITURE:
|
||||
write_to_output(d, "Number of people it can hold : ");
|
||||
break;
|
||||
case ITEM_NOTE:
|
||||
case ITEM_NOTE: // These object types have no 'values' so go back to menu
|
||||
case ITEM_OTHER:
|
||||
case ITEM_WORN:
|
||||
case ITEM_TREASURE:
|
||||
case ITEM_TRASH:
|
||||
case ITEM_KEY:
|
||||
case ITEM_PEN:
|
||||
case ITEM_BOAT:
|
||||
oedit_disp_menu(d);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue