Skip to content

Make reading and writing of all player stats to record attack demos precise (resolves #1048)

katsy requested to merge katsy/SRB2:brokenrecord into next

I assume these were saved like this to reduce filesize but considering lua could set, say, normalspeed to 45 and 1/3 fracunit it would desync replays due to saving method assuming they could only be whole numbers. Also, shieldscale and camerascale accept decimal values so those never should have been saved as UINT8 in the first place.

Before:
srb20003

After:
srb20004

Edited by katsy

Merge request reports