From 28e31136bd2d076c3d264dd050b52b036efa3034 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 26 May 2022 14:45:51 -0700 Subject: fix(platypus): remove pre-rand --- platypus/platypus.cpp | 1 - platypus/platypus.h | 1 - 2 files changed, 2 deletions(-) diff --git a/platypus/platypus.cpp b/platypus/platypus.cpp index cdf7e92..b5f9270 100644 --- a/platypus/platypus.cpp +++ b/platypus/platypus.cpp @@ -18,7 +18,6 @@ Platypus::Platypus() { // Zoltan srand(static_cast(time(nullptr))); - rand(); } // Ricky diff --git a/platypus/platypus.h b/platypus/platypus.h index 435d11e..84cc43e 100644 --- a/platypus/platypus.h +++ b/platypus/platypus.h @@ -42,7 +42,6 @@ public: : name(std::move(_name)), gender(std::move(_gender)), weight(_weight), age(_age), alive(true), mutant(false) { srand(static_cast(time(nullptr))); - rand(); } // constructor that you can pass values to so as to // establish // ~Platypus() {} -- cgit v1.2.3