Skip to content

Commit

Permalink
feat: ignore this
Browse files Browse the repository at this point in the history
nothing to see here
  • Loading branch information
tricksurf authored and ThisAMJ committed Jan 3, 2024
1 parent cf5ed15 commit 3c45102
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Features/Demo/GhostRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,19 @@ void GhostRenderer::UpdateAnimatedVerts() {
localPos.x * yawSin + localPos.y * yawCos,
localPos.z
};
if (ghost->name == "Dinnerbone") {

if (ghost->name == "Dinnerbone" || ghost->name == "Grumm") {
localPos.z = 72 - localPos.z;
}

if (ghost->name == "jeb_") {
int host, server, client;
engine->GetTicks(host, server, client);

int hue = (server) % 360;
ghost->color = Utils::HSVToRGB(hue, 100, 100);
}

// transform it to global coordinates
Vector globalPos = ghost->data.position + localPos;

Expand Down

0 comments on commit 3c45102

Please sign in to comment.