From 107ad9bfe1561810d630574aaca33f3ddb9fad7e Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 20 Jan 2010 17:59:31 +0000 Subject: (svn r18868) -Fix [FS#3547](r18776): Wrong comparator. --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_gui.cpp') 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; } }; -- cgit v1.2.3-54-g00ecf