mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Engine: Adjust krand for removal of LUNATIC
# Conflicts: # source/build/include/build.h # source/build/src/engine.cpp
This commit is contained in:
parent
dba06d9601
commit
cca922f023
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue