diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-02-24 13:14:24 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-02-24 13:14:24 -0600 |
commit | 19f953a58e91cf6b46257a8c05c1082378917a22 (patch) | |
tree | ddc79dbc99c5e3ff990ca6d4cdde0cb7ab78bf08 /src | |
parent | 448570f57f66afb6475c0db32548f5414f0e3800 (diff) | |
download | kamek-19f953a58e91cf6b46257a8c05c1082378917a22.tar.gz kamek-19f953a58e91cf6b46257a8c05c1082378917a22.zip |
more shy guy junk, almost done!
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; |