diff options
| author | Fuwn <[email protected]> | 2022-05-26 14:45:51 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-26 14:45:51 -0700 |
| commit | 28e31136bd2d076c3d264dd050b52b036efa3034 (patch) | |
| tree | ecd04a729886875305c8defd7aba93456981f4e2 | |
| parent | refactor(platypus.cpp): grammar (diff) | |
| download | wk7_platypusproject-28e31136bd2d076c3d264dd050b52b036efa3034.tar.xz wk7_platypusproject-28e31136bd2d076c3d264dd050b52b036efa3034.zip | |
fix(platypus): remove pre-rand
| -rw-r--r-- | platypus/platypus.cpp | 1 | ||||
| -rw-r--r-- | platypus/platypus.h | 1 |
2 files changed, 0 insertions, 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<unsigned int>(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<unsigned int>(time(nullptr))); - rand(); } // constructor that you can pass values to so as to // establish // ~Platypus() {} |