diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-25 10:40:56 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-25 10:40:56 +0000 |
commit | fd73ea2058fd25a75793907c2e7ff1986c17fcdc (patch) | |
tree | b7c3b6c9ee370504bf4990b5c4ff9924900215b1 /src/signs.cpp | |
parent | 5c6106cbcf78cb422eec7e989b8276b7939259d5 (diff) | |
download | openttd-fd73ea2058fd25a75793907c2e7ff1986c17fcdc.tar.xz |
(svn r10321) -Codechange: refer to sign text by index
Diffstat (limited to 'src/signs.cpp')
-rw-r--r-- | src/signs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs.cpp b/src/signs.cpp index 605469f42..355a20748 100644 --- a/src/signs.cpp +++ b/src/signs.cpp @@ -39,7 +39,7 @@ DEFINE_OLD_POOL(Sign, Sign, SignPoolNewBlock, NULL) static void UpdateSignVirtCoords(Sign *si) { Point pt = RemapCoords(si->x, si->y, si->z); - SetDParam(0, si->str); + SetDParam(0, si->index); UpdateViewportSignPos(&si->sign, pt.x, pt.y - 6, STR_2806); } |