[Ohrrpgce] SVN: teeemcee/9094 Fix textbox editor letting you select invalid doors, and crashes due to

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Jul 26 09:49:25 PDT 2017


teeemcee
2017-07-26 09:49:24 -0700 (Wed, 26 Jul 2017)
478
Fix textbox editor letting you select invalid doors, and crashes due to no door ID validity checking anywhere!

The textbox editor letting you select doors up to 199 instead of 99 has been
a bug forever, and caused out-of-bounds memory reads.
Most of the door script commands didn't check door numbers were valid either,
so would read either memory or .dox out of bounds

Also fix "door exists" throwing an error instead of returning false if you gave
it a door ID outside 0-99.
---
U   wip/game.bas
U   wip/loading.rbas
U   wip/mapsubs.bas
U   wip/scriptcommands.bas
U   wip/textboxedit.bas


More information about the Ohrrpgce mailing list