diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 02:33:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 02:33:10 +0000 |
commit | c7f3daacbf57e8213550f5bca3226565cbafe5e3 (patch) | |
tree | aa639d9f07d77989dca1ce7b2cf1a57a95a43c69 /src/group_gui.cpp | |
parent | 7df760b9c349d8caa4d3e39400ab8b8e9695941b (diff) | |
download | openttd-c7f3daacbf57e8213550f5bca3226565cbafe5e3.tar.xz |
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index b8cc53377..4dd14a866 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -173,7 +173,7 @@ public: const Owner owner = (Owner)GB(this->window_number, 0, 8); this->vehicle_type = (VehicleType)GB(this->window_number, 11, 5); - this->caption_color = owner; + this->owner = owner; this->resize.step_width = 1; switch (this->vehicle_type) { |