mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
MORTEVIELLE: Double check all "in []" statements, fix a couple of errors
This commit is contained in:
parent
e26a93efdf
commit
10132f3632
@ -371,7 +371,7 @@ void repon(int f, int m) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((f >= 6) && (f <= 9)) {
|
||||
if ((f == 6) || (f == 9)) {
|
||||
if (f == 6)
|
||||
i = 4;
|
||||
else
|
||||
@ -615,6 +615,10 @@ void chlm(int &per) {
|
||||
if (per == 2) per = 128;
|
||||
}
|
||||
|
||||
/**
|
||||
* Engine function - Draw Clock
|
||||
* @remarks Originally called 'pendule'
|
||||
*/
|
||||
void drawClock() {
|
||||
const int cv[3][13] = {
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
|
@ -36,7 +36,7 @@ void spfrac(int wor) {
|
||||
c3.rep = (uint)wor >> 12;
|
||||
if ((typlec == 0) && (c3.code != 9))
|
||||
if (((c3.code > 4) && (c3.val != 20) && ((c3.rep != 3) && (c3.rep != 6) && (c3.rep != 9)) ||
|
||||
((c3.code < 5) && ((c3.rep != 19) && (c3.rep != 22) && (c3.rep != 4) && (c3.rep != 9))))) {
|
||||
((c3.code < 5) && ((c3.val != 19) && (c3.val != 22) && (c3.rep != 4) && (c3.rep != 9))))) {
|
||||
++c3.rep;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user