diff options
author | Treeki <treeki@gmail.com> | 2012-10-14 16:35:45 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-14 16:35:45 +0200 |
commit | 12e7595595397e2e9008d611b108fb686bf008a3 (patch) | |
tree | e2b20ca2afb209ca59ae01767c86b0ee0b50e432 /src | |
parent | 8135ce4837c702c73460ecb7e8b7511c902a01bf (diff) | |
download | kamek-12e7595595397e2e9008d611b108fb686bf008a3.tar.gz kamek-12e7595595397e2e9008d611b108fb686bf008a3.zip |
fixed this stupid test thing I wasn't supposed to commit
Diffstat (limited to 'src')
-rw-r--r-- | src/poweruphax.cpp | 5 | ||||
-rw-r--r-- | src/poweruphax.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/poweruphax.cpp b/src/poweruphax.cpp index 42f42ae..e1dbb87 100644 --- a/src/poweruphax.cpp +++ b/src/poweruphax.cpp @@ -67,8 +67,6 @@ void dHammerSuitRenderer_c::setup(dPlayerModelHandler_c *handler, int sceneID) { if (victim->player_id_1 <= 1) headNodeID = playerResMdl->GetResNode("face_1").GetID(); rootNodeID = playerResMdl->GetResNode("skl_root").GetID(); - - thing = 0; } void dHammerSuitRenderer_c::draw() { @@ -78,12 +76,9 @@ void dHammerSuitRenderer_c::draw() { if (victim->player_id_1 <= 1) { // Materials: 2=hair 3=hat; Modes: BACK=visible ALL=invisible SetCullModeForMaterial(&victim->getCurrentModel()->head, 3, GX_CULL_ALL); - thing += 80; Mtx headMtx; victimModel->getMatrixForNode(headNodeID, headMtx); - mMtx *thing2 = (mMtx*)(&headMtx); - thing2->applyRotationZ(&thing); helmet.setDrawMatrix(headMtx); helmet.setScale(1.0f, 1.0f, 1.0f); diff --git a/src/poweruphax.h b/src/poweruphax.h index b58b59e..6fc438d 100644 --- a/src/poweruphax.h +++ b/src/poweruphax.h @@ -12,8 +12,6 @@ class dHammerSuitRenderer_c { dPlayerModel_c *victim; - s16 thing; - dHammerSuitRenderer_c(); ~dHammerSuitRenderer_c(); void setup(dPlayerModelHandler_c *handler); |