1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-22 05:33:02 +00:00

Adjust horizontal booster caret (Fixes #173)

This commit is contained in:
dawnDus 2022-11-03 20:29:24 -04:00
parent 0f79474aae
commit 2be1c422d6
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -464,7 +464,7 @@ impl Player {
if self.controller.trigger_jump() || self.booster_fuel % 3 == 1 {
if self.direction == Direction::Left || self.direction == Direction::Right {
state.create_caret(
self.x + 0x400,
self.x - (0x400 * self.direction.vector_x()),
self.y + 0x400,
CaretType::Exhaust,
booster_dir.opposite(),