# HG changeset patch # User rubidium # Date 1209104158 0 # Node ID e08d68483283084beec3758c9ad163fcd716c2cd # Parent 6f57df77abd8b5521d6e44653c3252cc3b76ed28 (svn r12892) -Fix: too many items in the vehicle toolbars were greyed out. diff -r 6f57df77abd8 -r e08d68483283 src/toolbar_gui.cpp --- a/src/toolbar_gui.cpp Thu Apr 24 23:50:40 2008 +0000 +++ b/src/toolbar_gui.cpp Fri Apr 25 06:15:58 2008 +0000 @@ -314,10 +314,7 @@ int dis = ~0; FOR_ALL_VEHICLES(v) { - if (v->type == veh && v->IsPrimaryVehicle()) { - ClrBit(dis, v->owner); - break; - } + if (v->type == veh && v->IsPrimaryVehicle()) ClrBit(dis, v->owner); } PopupMainPlayerToolbMenu(w, 13 + veh, dis); }