From 75567c3d7dd87cbd7aa6c90a5d12b5df66eefe53 Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 31 Dec 2004 18:59:22 +0000 Subject: [PATCH] (svn r1313) -Fix: fixed MSVC problem --- town_cmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/town_cmd.c b/town_cmd.c index b15e1f93d2..3c0c357e3f 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -183,8 +183,10 @@ static void MarkTownSignDirty(Town *t) void UpdateTownVirtCoord(Town *t) { + Point pt; + MarkTownSignDirty(t); - Point pt = RemapCoords2(GET_TILE_X(t->xy)*16, GET_TILE_Y(t->xy)*16); + pt = RemapCoords2(GET_TILE_X(t->xy)*16, GET_TILE_Y(t->xy)*16); SetDParam(0, t->townnametype); SetDParam(1, t->townnameparts); SetDParam(2, t->population);