changeset 5930 | d382ef7347c2 |
parent 5928 | d57921d78ee6 |
child 5934 | 9f91cc4e2b17 |
--- a/src/station_cmd.cpp Sun Jan 14 23:36:25 2007 +0000 +++ b/src/station_cmd.cpp Sun Jan 14 23:43:59 2007 +0000 @@ -1786,7 +1786,7 @@ if (st == NULL) return CMD_ERROR; /* ensure that in case of error (or no DC_EXEC) the station gets deleted upon return */ - std::auto_ptr<Station> st_auto_delete = std::auto_ptr<Station>(st); + std::auto_ptr<Station> st_auto_delete(st); st->town = ClosestTownFromTile(tile, (uint)-1); st->sign.width_1 = 0;