Skip to content

Duke3D: Print script name and line if gamevar/struct index error occurs

Dino Bollinger requested to merge dibollinger/eduke32:invalid_index_patch into master

Of course, if the index error occurs when the function is called from somewhere other than the CON VM, this output may be misleading -- but index errors typically stem from CON issues anyways, not hardcoded stuff.

Much requested by Dan, because he keeps running into these types of errors with no clue as to where they stem from.

Merge request reports