diff options
author | frosch <frosch@openttd.org> | 2010-01-20 17:59:31 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-20 17:59:31 +0000 |
commit | 107ad9bfe1561810d630574aaca33f3ddb9fad7e (patch) | |
tree | 4791e0468d89a7e8c44b11a1de9e504f4e1e7456 /src | |
parent | 36bb4e19aeac3b0372efc314116b7b08f1bd9f2e (diff) | |
download | openttd-107ad9bfe1561810d630574aaca33f3ddb9fad7e.tar.xz |
(svn r18868) -Fix [FS#3547](r18776): Wrong comparator.
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 53bc2a263..4707b47bf 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -232,7 +232,7 @@ struct RefitOption { FORCEINLINE bool operator != (const RefitOption &other) const { - return other.cargo != this->cargo || other.subtype != this->subtype; + return other.cargo != this->cargo || other.value != this->value; } }; |