diff options
| author | iamcheeseman <[hidden email]> | 2026-02-06 22:35:02 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-02-06 22:35:02 -0500 |
| commit | abef713d32b1e237edd718999e47997f5a2a1bcb (patch) | |
| tree | b40f1373ac7a75655c550ffd365d818d2bf60a29 /src/prop.odin | |
| parent | ffd24338b945ea2adf8a3c9ce217407da980b3a0 (diff) | |
fix props not flipping rightly
Diffstat (limited to 'src/prop.odin')
| -rw-r--r-- | src/prop.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prop.odin b/src/prop.odin index 174eceb..f6932de 100644 --- a/src/prop.odin +++ b/src/prop.odin @@ -103,11 +103,11 @@ object_spawner_prop :: proc(obj: Object_Resource) { scale := Vec2{1, 1} if obj.size.x < 0 { scale.x = -1 - // pos.x -= f32(img.width) + pos.x += f32(img.size.x) } if obj.size.y < 0 { scale.y = -1 - // pos.y -= f32(img.height) + pos.y += f32(img.size.y) } #partial switch tile.image { |
