[Ohrrpgce] SVN: teeemcee/8285 spriteedit: Fix crash (array OOB) when pressing ctrl+c while editing her

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Dec 30 18:30:03 PST 2016


teeemcee
2016-12-30 18:30:03 -0800 (Fri, 30 Dec 2016)
430
spriteedit: Fix crash (array OOB) when pressing ctrl+c while editing hero sprites

(This affected the sprite editor, not spriteset browser)

The copy buffers were exactly the right size to hold one hero spriteset,
but it turns out the placer() array was 1 longer than necessary, causing
an out of bounds access! But the arbitrary sprite editor can edit much
larger sprites, so I resized the copy buffers to accomodate that instead
---
U   wip/custom_udts.bi


More information about the Ohrrpgce mailing list