author | KUDr |
Sun, 14 Jan 2007 23:43:59 +0000 | |
changeset 5930 | d382ef7347c2 |
parent 5929 | 2a5f9609e04d |
child 5931 | 1d832a07c2d6 |
--- 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;