add standard white & dark colors in ShooterConsts.h

master
Vectozavr 2021-11-07 14:47:42 +07:00
parent e1cd619eef
commit ef494b56f7
1 changed files with 0 additions and 3 deletions

View File

@ -276,9 +276,6 @@ void Shooter::spawnPlayer(sf::Uint16 id) {
world->body(ObjectNameTag(name + "_foot_2"))->translate(Vec3D{0.25, 0, 0}); world->body(ObjectNameTag(name + "_foot_2"))->translate(Vec3D{0.25, 0, 0});
newPlayer->attach(world->body(ObjectNameTag(name + "_foot_2"))); 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 colorBodyNum = (int) ((double) (rand()-1) / RAND_MAX * 5);
int colorFootNum = (int) ((double) (rand()-1) / RAND_MAX * 5); int colorFootNum = (int) ((double) (rand()-1) / RAND_MAX * 5);