summaryrefslogtreecommitdiff
path: root/src/script/script_scanner.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-09-08 09:48:52 +0000
committerrubidium <rubidium@openttd.org>2011-09-08 09:48:52 +0000
commit414c397000935162df4641dbe0c056b39d32205e (patch)
tree017dc3d94c6c765e1ba9fa28e46f536b7ec1b384 /src/script/script_scanner.cpp
parent92244f1663367a14051578daa4120c748b1ba9f4 (diff)
downloadopenttd-414c397000935162df4641dbe0c056b39d32205e.tar.xz
(svn r22904) -Codechange: add tar filename to file scanning
Diffstat (limited to 'src/script/script_scanner.cpp')
-rw-r--r--src/script/script_scanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_scanner.cpp b/src/script/script_scanner.cpp
index 72f1c3b2a..75f4ba074 100644
--- a/src/script/script_scanner.cpp
+++ b/src/script/script_scanner.cpp
@@ -17,7 +17,7 @@
#include "../script/squirrel.hpp"
#include "script_scanner.hpp"
-bool ScriptScanner::AddFile(const char *filename, size_t basepath_length)
+bool ScriptScanner::AddFile(const char *filename, size_t basepath_length, const char *tar_filename)
{
free(this->main_script);
this->main_script = strdup(filename);