From aeb3e21bb948a1b3bf0edc0a8fa2554549d4a8f6 Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Fri, 8 Dec 2023 01:35:28 -0500 Subject: [PATCH] Revert and fix filename change in idProgram::CompileText() for savefile compatibility --- neo/d3xp/script/Script_Program.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/d3xp/script/Script_Program.cpp b/neo/d3xp/script/Script_Program.cpp index 4d9ade09..305d4a55 100644 --- a/neo/d3xp/script/Script_Program.cpp +++ b/neo/d3xp/script/Script_Program.cpp @@ -2144,7 +2144,7 @@ bool idProgram::CompileText( const char* source, const char* text, bool console try #endif { - compiler.CompileFile( text, source, console ); + compiler.CompileFile( text, ospath.c_str(), console ); // check to make sure all functions prototyped have code for( i = 0; i < varDefs.Num(); i++ )