aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/stickyNickel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/stickyNickel.c')
-rw-r--r--src/entities/stickyNickel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/entities/stickyNickel.c b/src/entities/stickyNickel.c
index 3738089..49a3fc7 100644
--- a/src/entities/stickyNickel.c
+++ b/src/entities/stickyNickel.c
@@ -32,8 +32,10 @@ InteractionCommand interactWithStickyNickel(Entity* entity, Game* game,
"Luck you, its a sticky nickel :D\nBetter wash your hands...");
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;
}
}