Skip to content

Fix potential segfault when flat images has changed on netcode

Hanicef requested to merge Hanicef/SRB2:fix-floorpic-segfault into next

A miss on !2497 (merged) where the fields on SD_FLOORPIC and SD_CEILPIC weren't loaded in the usual way, which ended up applying the old logic of pushing the window further rather than using the buffer that stores save information. This caused it to read arbitrary data, and would often trigger segfaults.

Merge request reports

Loading