Engine: Adjust krand for removal of LUNATIC

# Conflicts:
#	source/build/include/build.h
#	source/build/src/engine.cpp
This commit is contained in:
NY00123 2020-05-17 21:40:10 +03:00 committed by Christoph Oelckers
parent dba06d9601
commit cca922f023

View file

@ -922,7 +922,7 @@ int32_t getsectordist(vec2_t const in, int const sectnum, vec2_t * const out = n
extern const int16_t *chsecptr_onextwall; extern const int16_t *chsecptr_onextwall;
int32_t checksectorpointer(int16_t i, int16_t sectnum); int32_t checksectorpointer(int16_t i, int16_t sectnum);
#if !KRANDDEBUG && !defined LUNATIC #if !KRANDDEBUG
static FORCE_INLINE int32_t krand(void) static FORCE_INLINE int32_t krand(void)
{ {
randomseed = (randomseed * 1664525ul) + 221297ul; randomseed = (randomseed * 1664525ul) + 221297ul;