summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-20 17:59:31 +0000
committerfrosch <frosch@openttd.org>2010-01-20 17:59:31 +0000
commit107ad9bfe1561810d630574aaca33f3ddb9fad7e (patch)
tree4791e0468d89a7e8c44b11a1de9e504f4e1e7456 /src/vehicle_gui.cpp
parent36bb4e19aeac3b0372efc314116b7b08f1bd9f2e (diff)
downloadopenttd-107ad9bfe1561810d630574aaca33f3ddb9fad7e.tar.xz
(svn r18868) -Fix [FS#3547](r18776): Wrong comparator.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
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;
}
};