X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=saveresume.c;h=6e73017e48a32ff2cb4ee5eb89c37279ab7a8fc6;hp=f02132103389142810d593043073349b7369317f;hb=3ca9613bcd75130a24a1ac4af19d4842aac2cf9c;hpb=42c66160a77370e7f70a9024f5d1eff3ef2710cd diff --git a/saveresume.c b/saveresume.c index f021321..6e73017 100644 --- 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 */