From b7386de590871a82bb576951176c0a00210ae761 Mon Sep 17 00:00:00 2001 From: Rob Messick Date: Sun, 23 Feb 2014 12:42:34 -0800 Subject: [PATCH] Unused comparison causes error on clang. Suspect this was a typo. --- script/gdscript/gd_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/gdscript/gd_script.cpp b/script/gdscript/gd_script.cpp index 5679e1e066b..8f2da43e968 100644 --- a/script/gdscript/gd_script.cpp +++ b/script/gdscript/gd_script.cpp @@ -1416,7 +1416,7 @@ Error GDScript::reload() { String basedir=path; if (basedir=="") - basedir==get_path(); + basedir=get_path(); if (basedir!="") basedir=basedir.get_base_dir();