aboutsummaryrefslogtreecommitdiffstats
path: root/src/shop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shop.h')
-rw-r--r--src/shop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shop.h b/src/shop.h
index e9555a5..efbca6b 100644
--- a/src/shop.h
+++ b/src/shop.h
@@ -7,7 +7,9 @@
#ifndef SHOP_H
#define SHOP_H
-typedef void (*ShopyEntryCB)(Game* game);
+typedef struct ShopEntry ShopEntry;
+
+typedef void (*ShopyEntryCB)(ShopEntry* entry, Game* game);
typedef struct ShopEntry {
Texture* texture;