diff options
Diffstat (limited to '')
-rw-r--r-- | src/shyguy.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp index e838516..378a220 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -286,7 +286,7 @@ daShyGuy *daShyGuy::build() { if (this->damage > 2) { doStateChange(&StateID_DieSmoke); - this._vf14C(); + this->_vf14C(); } else { doStateChange(stateVar); @@ -951,9 +951,10 @@ void daShyGuy::updateModelMatrices() { pos.x = this->pos.x; pos.y = this->pos.y; pos.z = this->pos.z; - + dStageActor_c *spawned; + if (this->direction == 1) { - dStageActor_c *spawned = CreateActor(89, 0x2, pos, 0, 0); + spawned = CreateActor(89, 0x2, pos, 0, 0); spawned->scale.x = 0.5; spawned->scale.y = 0.5; spawned->scale.z = 0.5; @@ -962,7 +963,7 @@ void daShyGuy::updateModelMatrices() { spawned->speed.y = 2.0; } else { - dStageActor_c *spawned = CreateActor(89, 0x12, pos, 0, 0); + spawned = CreateActor(89, 0x12, pos, 0, 0); spawned->scale.x = 0.5; spawned->scale.y = 0.5; spawned->scale.z = 0.5; |