diff options
Diffstat (limited to '')
-rw-r--r-- | src/poweruphax.cpp | 5 |
1 files changed, 0 insertions, 5 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); |