Skip to content
Snippets Groups Projects
Commit 83c4dba4 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fix crash reported by FuriousFox at http://mb.srb2.org/showthread.php?t=41536

Basically this makes sure numwadfiles is updated before loading the SOC/Lua scripts, so if a Lua script calls COM_BufInsertText with the contents "addfile scr_mysticrealm.wad" it can't overwrite the last written wadfile slot! Not that COM_BufInsertText really should be used like that to begin with
parent 919e3ed0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment