From ef494b56f734a43f3cb453a3a42a08900fe0b225 Mon Sep 17 00:00:00 2001 From: Vectozavr <60608292+vectozavr@users.noreply.github.com> Date: Sun, 7 Nov 2021 14:47:42 +0700 Subject: [PATCH] add standard white & dark colors in ShooterConsts.h --- Shooter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Shooter.cpp b/Shooter.cpp index 45a180f..66381c7 100644 --- a/Shooter.cpp +++ b/Shooter.cpp @@ -276,9 +276,6 @@ void Shooter::spawnPlayer(sf::Uint16 id) { world->body(ObjectNameTag(name + "_foot_2"))->translate(Vec3D{0.25, 0, 0}); newPlayer->attach(world->body(ObjectNameTag(name + "_foot_2"))); - Vec3D randColor1 = Vec3D::Random(); - Vec3D randColor2 = Vec3D::Random(); - int colorBodyNum = (int) ((double) (rand()-1) / RAND_MAX * 5); int colorFootNum = (int) ((double) (rand()-1) / RAND_MAX * 5);