aboutsummaryrefslogtreecommitdiff
path: root/src/bullet.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bullet.odin')
-rw-r--r--src/bullet.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bullet.odin b/src/bullet.odin
index 9b95bb8..f2e2e47 100644
--- a/src/bullet.odin
+++ b/src/bullet.odin
@@ -19,9 +19,9 @@ make_bullet :: proc(
pos: Vec2,
vel: Vec2,
lifetime: f32 = 5,
- image_id := Image_Id.BULLET,
- layers: bit_set[phys.Layer;u16] = {.PLAYER_PROJECTILE},
- mask: bit_set[phys.Layer;u16] = {.DEFAULT},
+ image_id := Image_Id.Bullet,
+ layers: bit_set[phys.Layer;u16] = {.Player_Projectile},
+ mask: bit_set[phys.Layer;u16] = {.Default},
) -> (Entity_Handle, ^Bullet) {
sprite: Sprite
init_sprite(&sprite, image_id)