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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/stickyNickel.c b/src/entities/stickyNickel.c
index 87d3687..00b7da1 100644
--- a/src/entities/stickyNickel.c
+++ b/src/entities/stickyNickel.c
@@ -18,6 +18,7 @@ InteractionCommand interactWithStickyNickel(Entity* entity, Game* game,
{
InventoryItem item = (InventoryItem){
.id = STICKY_NICKEL,
+ .parent = entity,
.textureId = NICKEL_TEXTURE,
.count = 1
};