1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-12-18 10:24:55 +00:00

Compare commits

..

No commits in common. "ec21a22e3049a907f8530aab64fdcfbbb14f3229" and "97d85aa8416ce38809de43e7449e431596e49897" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View file

@ -5,12 +5,6 @@ plugins {
android { android {
namespace "io.github.doukutsu_rs" namespace "io.github.doukutsu_rs"
/**
* NOTE: If you want to change the versions of packages required for the build
* (e.g. build tools, compile SDK, NDK) or add new ones,
* make the appropriate changes in packages.txt. Otherwise CI could break.
*/
compileSdkVersion 33 compileSdkVersion 33
buildToolsVersion "33.0.0" buildToolsVersion "33.0.0"
ndkVersion "25.2.9519653" ndkVersion "25.2.9519653"

View file

@ -296,9 +296,6 @@ impl NPC {
} }
self.anim_rect = state.constants.npc.n123_curly_boss_bullet[self.direction as usize]; self.anim_rect = state.constants.npc.n123_curly_boss_bullet[self.direction as usize];
} else {
self.x += self.vel_x;
self.y += self.vel_y;
} }
if match self.direction { if match self.direction {
@ -315,6 +312,8 @@ impl NPC {
return Ok(()); return Ok(());
} }
self.x += self.vel_x;
self.y += self.vel_y;
Ok(()) Ok(())
} }