diff options
Diffstat (limited to '')
-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); |