aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/oldMint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/oldMint.c')
-rw-r--r--src/entities/oldMint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/entities/oldMint.c b/src/entities/oldMint.c
index 445f34a..9e43fd9 100644
--- a/src/entities/oldMint.c
+++ b/src/entities/oldMint.c
@@ -30,8 +30,10 @@ InteractionCommand interactWithOldMint(Entity* entity, Game* game,
"Oh goodie it's an old mint!\nThough I advice you don't taste it\n...(assuming you want to live)");
addItemToInventory(&game->inventory, item);
return INTERACTION_TALK;
+ case SELECTION_USE:
+ return INTERACTION_KILL_ITEM;
default:
- entity->id = ENTITY_NONE;
+ entity->visable = false;
return INTERACTION_END;
}
}