mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 13:42:47 +00:00
Adjust horizontal booster caret (Fixes #173)
This commit is contained in:
parent
0f79474aae
commit
2be1c422d6
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue