From 40eaf8a6f540729173b21d2261b7fb5a2ad5d2ec Mon Sep 17 00:00:00 2001 From: pionere Date: Thu, 11 Feb 2021 09:49:29 +0100 Subject: [PATCH] SeedCount is _DEBUG-only --- Source/engine.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/engine.cpp b/Source/engine.cpp index 5c4e4f2ac..dc6146df1 100644 --- a/Source/engine.cpp +++ b/Source/engine.cpp @@ -26,8 +26,6 @@ int sgnWidth; /** Current game seed */ int sglGameSeed; static CCritSect sgMemCrit; -/** Number of times the current seed has been fetched */ -int SeedCount; /** valid - if x/y are in bounds */ BOOL gbNotInView; @@ -799,7 +797,6 @@ int GetDirection(int x1, int y1, int x2, int y2) */ void SetRndSeed(int s) { - SeedCount = 0; sglGameSeed = s; orgseed = s; } @@ -810,7 +807,6 @@ void SetRndSeed(int s) */ int AdvanceRndSeed() { - SeedCount++; sglGameSeed = static_cast(RndMult) * sglGameSeed + RndInc; return abs(sglGameSeed); }