projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few in-game message typos...
[open-adventure.git]
/
saveresume.c
diff --git
a/saveresume.c
b/saveresume.c
index 8fe93091697023b60db2c3a422fad66e7620e961..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) {
/* 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 */
}
/* Check for RNG underflow. Transpose */
@@
-186,7
+186,7
@@
bool is_valid(struct game_t valgame)
/* Validate that we didn't die too many times in save */
if (valgame.numdie >= NDEATHS) {
/* Validate that we didn't die too many times in save */
if (valgame.numdie >= NDEATHS) {
- return false;
+ return false;
// LCOV_EXCL_LINE
}
/* Recalculate tally, throw the towel if in disagreement */
}
/* Recalculate tally, throw the towel if in disagreement */