projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A couple of "locaiton" in advent.h
[open-adventure.git]
/
saveresume.c
diff --git
a/saveresume.c
b/saveresume.c
index f02132103389142810d593043073349b7369317f..6e73017e48a32ff2cb4ee5eb89c37279ab7a8fc6 100644
(file)
--- a/
saveresume.c
+++ b/
saveresume.c
@@
-146,7
+146,7
@@
bool is_valid(struct game_t valgame)
/* Check for RNG overflow. Truncate */
if (valgame.lcg_x >= LCG_M) {
- valgame.lcg_x %= LCG_M;
+ valgame.lcg_x %= LCG_M;
// LCOV_EXCL_LINE
}
/* Check for RNG underflow. Transpose */