diff options
| author | Henny022p <info@henny022.de> | 2021-03-15 22:56:23 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2021-03-15 22:56:23 +0100 |
| commit | a2cdfd6d8dd910aa402b7e6bdf32278ac9b80c50 (patch) | |
| tree | dd9524198ad151c49eb01e92f46743e6e306673e /src/enemy/miniSlime.c | |
| parent | aac7eb743646634c1476141ba5d07da53ab56193 (diff) | |
| parent | e09678c6ab4d6c1070495cf8b49b8b3dffefc4af (diff) | |
Merge branch 'master' into cleanup_declarations
Diffstat (limited to 'src/enemy/miniSlime.c')
| -rw-r--r-- | src/enemy/miniSlime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/miniSlime.c b/src/enemy/miniSlime.c index ad880319..6df8075a 100644 --- a/src/enemy/miniSlime.c +++ b/src/enemy/miniSlime.c @@ -48,7 +48,7 @@ void nullsub_22(void) { void sub_080452A4(Entity* this) { this->action = 1; this->spriteSettings.b.draw = 1; - this->nonPlanarMovement = 0x100; + this->speed = 0x100; sub_0804A720(this); InitializeAnimation(this, 6); if (this->type2) { @@ -70,8 +70,8 @@ void sub_080452FC(Entity* this) { if (--this->actionDelay == 0) { this->action = 3; this->actionDelay = 1; - if (0 < this->nonPlanarMovement) - this->actionDelay = sub_0806FA04(0x1000, this->nonPlanarMovement) >> 0x8; + if (0 < this->speed) + this->actionDelay = sub_0806FA04(0x1000, this->speed) >> 0x8; if (sub_08049FA0(this) == 0 && (Random() & 3)) { cVar2 = sub_08049EE4(this); |
