niv / neverwinter.nim

CLI tools and nim library used in Neverwinter Nights: Enhanced Edition development
MIT License
133 stars 29 forks source link

nwn_script_comp: Existing but null/empty include files trigger an "ERROR: FILE NOT FOUND" when compiling the script #111

Open LaputianBird opened 8 months ago

LaputianBird commented 8 months ago

@Daztek tracked down the cause to this

LaputianBird commented 8 months ago

@mtijanic on discord:

Actually, not so much blergh. Can easily be patched up. It should return NULL for not found and "" for empty file.