aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex02/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex02/main.cpp')
-rw-r--r--cpp01/ex02/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp01/ex02/main.cpp b/cpp01/ex02/main.cpp
index e8fb2c9..1e6db77 100644
--- a/cpp01/ex02/main.cpp
+++ b/cpp01/ex02/main.cpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:47:21 by charles #+# #+# */
-/* Updated: 2020/11/09 10:33:18 by cacharle ### ########.fr */
+/* Updated: 2020/11/17 16:43:26 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -30,7 +30,9 @@ int main()
devRandom.close();
}
else
+ {
seed = time(NULL);
+ }
srand(seed);
zevent.setZombieType("NotRandom");
z = zevent.newZombie("jean");