(svn r10321) -Codechange: refer to sign text by index

This commit is contained in:
peter1138
2007-06-25 10:40:56 +00:00
parent 5c6106cbcf
commit fd73ea2058
8 changed files with 18 additions and 6 deletions

View File

@@ -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);
}