diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/mrand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mrand.cpp b/src/utils/mrand.cpp index 85b3e6b9c..6080332ae 100644 --- a/src/utils/mrand.cpp +++ b/src/utils/mrand.cpp @@ -41,5 +41,5 @@ int mrand() { if (mPos >= randNumbers) mPos = 0; - return mRand[++mPos]; + return mRand[mPos++]; } |