lunchbox_override_pickup_type's function patch is incompatible with Windows #22
Labels
open season
Someone else want to take care of this?
platform-specific
This doesn't work on every platform
The branching method used by the Windows version of the game is different from the Linux binary — it uses a default switch case for
item_healthammokit
.Linux has a register hold a pointer to the default case string and replaces it with one of the other entity classnames on some
if
statements. For that platform, we reroute the default case to our string and bypass the jumps altogether.There's a few ways to go about supporting this on Windows:
mov
operation to point to our stringAt the moment none of my paying clients need this function on Windows, so it's low-priority for me.
The text was updated successfully, but these errors were encountered: