diff options
author | rubidium <rubidium@openttd.org> | 2009-07-07 16:51:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-07 16:51:20 +0000 |
commit | 3086383cdc7087b46ebcd9320c300ea6ba67ec7a (patch) | |
tree | a455fb825d1db26aaa259eaae03ac95b000f0fca /src/signs.cpp | |
parent | fbb2fb97206771cc3d54a3e2f43f6fc098f0c557 (diff) | |
download | openttd-3086383cdc7087b46ebcd9320c300ea6ba67ec7a.tar.xz |
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
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 3da538a71..3102d7973 100644 --- a/src/signs.cpp +++ b/src/signs.cpp @@ -42,7 +42,7 @@ void UpdateSignVirtCoords(Sign *si) { Point pt = RemapCoords(si->x, si->y, si->z); SetDParam(0, si->index); - UpdateViewportSignPos(&si->sign, pt.x, pt.y - 6, STR_SIGN_WHITE); + si->sign.UpdatePosition(pt.x, pt.y - 6, STR_SIGN_WHITE); } /** Update the coordinates of all signs */ |