aboutsummaryrefslogtreecommitdiff
path: root/src/engine/bullet.c
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-04-06 12:33:09 +0200
committerUnavailableDev <ggwildplay@gmail.com>2023-04-06 12:33:09 +0200
commit93e9426d5642dfab7a13d5a34873b296de1d9642 (patch)
treea2efebcb9917d7f4f3666a722338f50b9590e843 /src/engine/bullet.c
parent0dd7be7230b3ccba9a930c01549d79d108d091c4 (diff)
parent5c9e951408399ebda98a2007d7cd24912ba64c49 (diff)
Merge branch 'dev' of https://github.com/heavydemon21/avans-arcade into dev
Diffstat (limited to 'src/engine/bullet.c')
-rw-r--r--src/engine/bullet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/bullet.c b/src/engine/bullet.c
index eb9a8bb..3251472 100644
--- a/src/engine/bullet.c
+++ b/src/engine/bullet.c
@@ -18,13 +18,13 @@ hh_entity* hh_init_bullets(int size) {
.vel = (vec2){0,0},
.size = (vec2) { 13,16},
.render = {
- .frame0 = 84,
+ .frame0 = HH_TM_BULLET_OFFSET,
.palette = 3,
.fam = (hh_s_ppu_loc_fam_entry){
.horizontal_flip = false,
.vertical_flip = false,
.palette_index = 7,
- .tilemap_index = 84,
+ .tilemap_index = HH_TM_BULLET_OFFSET,
}
}
};