changeset 18085:4c20dc16f447 draft

(svn r22906) -Fix (r22905): variable not properly cleared before use
author rubidium <rubidium@openttd.org>
date Thu, 08 Sep 2011 10:02:43 +0000
parents 475be2c93383
children 2241aae0bd87
files src/script/script_scanner.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/script/script_scanner.cpp
+++ b/src/script/script_scanner.cpp
@@ -57,6 +57,7 @@
 	/* Mark this class as global pointer */
 	this->engine->SetGlobalPointer(this);
 	this->main_script = NULL;
+	this->tar_file = NULL;
 }
 
 ScriptScanner::~ScriptScanner()