mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 18:32:35 +01:00
(svn r10321) -Codechange: refer to sign text by index
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user