From 12e7595595397e2e9008d611b108fb686bf008a3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 14 Oct 2012 16:35:45 +0200 Subject: fixed this stupid test thing I wasn't supposed to commit --- src/poweruphax.cpp | 5 ----- src/poweruphax.h | 2 -- 2 files changed, 7 deletions(-) (limited to 'src') 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); -- cgit v1.2.3