Closed ez-me closed 2 years ago
Looks good to me. Thank you.
Huh yeah I guess the original has player->cheats &= ~CF_GODMODE; instead Not sure if it matters though
I mean in the original code cheats &= ~CF_GODMODE;
isn't behind an if-statement, while P_DamageMobj (player->mo, NULL, NULL, 20);
is.
But here it's the other way around.
Come to think of it, there's a difference between cheats &= ~CF_GODMODE
and cheats -= CF_GODMODE
. The first one turns of the GodMode cheat flag,
If you don't have any cheats activated, cheats
is 0,
then cheats -= CF_GODMODE
will make cheats == -2
which is equal to 11111110b
with a lot more leading 1s, which turns on the GodMode cheat flag, and NoMomentum and EnemyRockets.
Vanilla removes IDDQD cheat when finishing E1M8 for example, but this source port doesn't have that.
Also made it so that you can more easily build the rom by just opening msys2.bat, instead of also having to type "make"