aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/oldMint.c1
-rw-r--r--src/entities/stickyNickel.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/oldMint.c b/src/entities/oldMint.c
index be90ed6..1c95902 100644
--- a/src/entities/oldMint.c
+++ b/src/entities/oldMint.c
@@ -16,6 +16,7 @@ InteractionCommand interactWithOldMint(Entity* entity, Game* game,
{
InventoryItem item = (InventoryItem){
.id = OLD_MINT,
+ .parent = entity,
.textureId = MINT_TEXTURE,
.count = 1
};
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
};