Skip to content

Commit 0c6d7b9

Browse files
joye-ramonexrSimpodin
authored andcommitted
Не будем ругаться на файлы в релизе что б не пугать людей
1 parent 4c3512a commit 0c6d7b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ogsr_engine/COMMON_AI/script_engine.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ bool CScriptEngine::process_file_if_exists(const char* file_name, bool warn_if_n
222222
if (!LookupScript(S, file_name))
223223
{
224224
if (warn_if_not_exist)
225-
Msg("[CScriptEngine::process_file_if_exists] Variable %s not found; No script by this name exists, either.", file_name);
225+
MsgDbg("[CScriptEngine::process_file_if_exists] Variable %s not found; No script by this name exists, either.", file_name);
226226
else
227227
{
228-
Log("-------------------------");
229-
Msg("[CScriptEngine::process_file_if_exists] WARNING: Access to nonexistent variable or loading nonexistent script '%s'", file_name);
230-
print_stack();
231-
Log("-------------------------");
228+
LogDbg("-------------------------");
229+
MsgDbg("[CScriptEngine::process_file_if_exists] WARNING: Access to nonexistent variable or loading nonexistent script '%s'", file_name);
230+
FuncDbg(print_stack());
231+
LogDbg("-------------------------");
232232
add_no_file(file_name);
233233
}
234234
return false;

0 commit comments

Comments
 (0)