Fixes NPCs often getting an incorrect vertical speed assigned when hitting a ceiling. Just NOPs out the chunk of code that moves B into the edi register, thus allowing winningBlock to stay in place (relevant source). Revertible by an FFI function. Thanks, of course, to ds-sloth for finding and explaining the cause of the issue!
Fixes NPCs often getting an incorrect vertical speed assigned when hitting a ceiling. Just NOPs out the chunk of code that moves
B
into the edi register, thus allowingwinningBlock
to stay in place (relevant source). Revertible by an FFI function. Thanks, of course, to ds-sloth for finding and explaining the cause of the issue!