aboutsummaryrefslogtreecommitdiff
path: root/games/devilutionX/files/patch-Source_engine_random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/devilutionX/files/patch-Source_engine_random.cpp')
-rw-r--r--games/devilutionX/files/patch-Source_engine_random.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/games/devilutionX/files/patch-Source_engine_random.cpp b/games/devilutionX/files/patch-Source_engine_random.cpp
deleted file mode 100644
index ac57d195923f..000000000000
--- a/games/devilutionX/files/patch-Source_engine_random.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-https://github.com/diasurgical/devilutionX/pull/4588
-
---- Source/engine/random.cpp.orig 2022-04-25 02:21:41 UTC
-+++ Source/engine/random.cpp
-@@ -29,7 +29,8 @@ uint32_t GetLCGEngineState()
-
- int32_t GetRndSeed()
- {
-- return abs(static_cast<int32_t>(sglGameSeed));
-+ const int32_t seed = static_cast<int32_t>(sglGameSeed);
-+ return seed == -2147483648 ? -2147483648 : abs(seed);
- }
-
- int32_t AdvanceRndSeed()