diff options
author | frosch <frosch@openttd.org> | 2012-07-29 16:45:11 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-07-29 16:45:11 +0000 |
commit | 48e0d9901fba132ee532252f75ee00b242af5a31 (patch) | |
tree | e57d0ca87ba1ba06b47124f2ba9c7e6bfaec2717 /src/vehicle.cpp | |
parent | 4c9f65800be7f5a05722c18c559d74e3c1fe6711 (diff) | |
download | openttd-48e0d9901fba132ee532252f75ee00b242af5a31.tar.xz |
(svn r24443) -Codechange: Move Vehicle::name to BaseConsist.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 8a3d4fe68..be5cf0cdb 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -781,8 +781,6 @@ void Vehicle::PreDestructor() Vehicle::~Vehicle() { - free(this->name); - if (CleaningPool()) { this->cargo.OnCleanPool(); return; |