Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COV-0076: Restore missing item types to create_object() #38

Merged
merged 1 commit into from Dec 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/db.c
Expand Up @@ -2851,7 +2851,9 @@ OBJ_DATA *create_object(OBJ_INDEX_DATA * pObjIndex, int level)
case ITEM_ODOR:
case ITEM_CHANCE:
case ITEM_PIECE:
case ITEM_OTHER:
break;

case ITEM_COOK:
case ITEM_FOOD:
/*
Expand All @@ -2864,6 +2866,7 @@ OBJ_DATA *create_object(OBJ_INDEX_DATA * pObjIndex, int level)
else
obj->timer = obj->value[1];
break;

case ITEM_BOAT:
case ITEM_CORPSE_NPC:
case ITEM_CORPSE_PC:
Expand Down Expand Up @@ -2899,6 +2902,7 @@ OBJ_DATA *create_object(OBJ_INDEX_DATA * pObjIndex, int level)
case ITEM_QUIVER:
case ITEM_SHOVEL:
case ITEM_JOURNAL:
case ITEM_WORN:
break;

case ITEM_SALVE:
Expand Down