From 0aedbf2dbcff42917cf96dbbf72b220f73058874 Mon Sep 17 00:00:00 2001 From: Mathias Kaerlev Date: Mon, 26 Nov 2018 18:46:07 +0100 Subject: [PATCH] Fix crossrand.h removal --- build.bat | 2 +- terraingen/tgen2/src/import/base.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.bat b/build.bat index 9d8dab5a..0ed2e364 100644 --- a/build.bat +++ b/build.bat @@ -1 +1 @@ -C:\Windows\py.exe -3 setup.py build_ext --inplace \ No newline at end of file +C:\Windows\py.exe -3 setup.py build_ext --inplace --force \ No newline at end of file diff --git a/terraingen/tgen2/src/import/base.h b/terraingen/tgen2/src/import/base.h index ba816f64..54365990 100644 --- a/terraingen/tgen2/src/import/base.h +++ b/terraingen/tgen2/src/import/base.h @@ -20,7 +20,6 @@ #ifndef TERRAINGEN_BASE_H #define TERRAINGEN_BASE_H -#include "crossrand.h" #include #include #include @@ -124,7 +123,7 @@ uint32_t rand_imp() // import: srand void srand_imp(uint32_t value) { - hold_rand = (unsigned int)seed; + hold_rand = (unsigned int)value; } // import: IsProcessorFeaturePresent