[Ohrrpgce] SVN: teeemcee/11789 Avoid "BUG: illegal readblock/writeblock call" messages when pass/foemap

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Apr 29 18:27:59 PDT 2020


teeemcee
2020-04-29 18:27:59 -0700 (Wed, 29 Apr 2020)
577
Avoid "BUG: illegal readblock/writeblock call" messages when pass/foemaps missized

There seem to be many ~1998 games with passmaps that are 2 tiles short
vertically, or completely wrong foemap size, e.g. FUABMXv1, EDWEIRD, npc_tags.
Crashrpt 0d0f0c9f. Related also to crashrpt e0026e34 (fixed in r11458
(36d9a8d66))

That BUG message should now only be triggered by geniune bugs, not corrupt maps
(ie. if the map sizes or coords have been validated: in the map editor, in
calcblock()).
Also, only show the message once if it does happen, since it'll probably be
repeated a lot
---
U   wip/allmodex.bas
U   wip/game.bas
U   wip/scriptcommands.bas
U   wip/walkabouts.bas


More information about the Ohrrpgce mailing list