summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platypus/platypus.cpp1
-rw-r--r--platypus/platypus.h1
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() {}