summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-09 08:04:27 +0000
committerrubidium <rubidium@openttd.org>2009-09-09 08:04:27 +0000
commit008ffc58dd581839d62331d0281849fc3fcef71d (patch)
treeef9844d8f8ea32dfaf1d4f3b036fdbb8ddbcabd7 /src/ai
parente2122dc7f0e02e50ff2e17ae2d3a164671aa0975 (diff)
downloadopenttd-008ffc58dd581839d62331d0281849fc3fcef71d.tar.xz
(svn r17484) -Fix: squirrel export didn't like one of the casts
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/squirrel_export.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/squirrel_export.awk b/src/ai/api/squirrel_export.awk
index 3fa8d26e2..d33cfe4a4 100644
--- a/src/ai/api/squirrel_export.awk
+++ b/src/ai/api/squirrel_export.awk
@@ -347,7 +347,7 @@ BEGIN {
}
# Add a const (non-enum) value
-/^[ ]*static const \w+ \w+ = \w+;/ {
+/^[ ]*static const \w+ \w+ = \(?\w*\)?\w+;/ {
const_size++
const_value[const_size] = $4
next