Mercurial > hg > openttd
comparison src/town_cmd.cpp @ 12434:2d2c69d25637 draft
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 18 Jul 2009 08:41:58 +0000 |
parents | 6a77d1df56e2 |
children | 499dee1c27b6 |
comparison
equal
deleted
inserted
replaced
12433:c3588e7cb8f6 | 12434:2d2c69d25637 |
---|---|
2284 t->name = reset ? NULL : strdup(text); | 2284 t->name = reset ? NULL : strdup(text); |
2285 | 2285 |
2286 t->UpdateVirtCoord(); | 2286 t->UpdateVirtCoord(); |
2287 InvalidateWindowData(WC_TOWN_DIRECTORY, 0, 1); | 2287 InvalidateWindowData(WC_TOWN_DIRECTORY, 0, 1); |
2288 UpdateAllStationVirtCoords(); | 2288 UpdateAllStationVirtCoords(); |
2289 UpdateAllWaypointVirtCoords(); | |
2290 } | 2289 } |
2291 return CommandCost(); | 2290 return CommandCost(); |
2292 } | 2291 } |
2293 | 2292 |
2294 /** Called from GUI */ | 2293 /** Called from GUI */ |