(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
This commit is contained in:
@@ -153,8 +153,7 @@ struct SubsidyListWindow : Window {
|
||||
|
||||
SetupSubsidyDecodeParam(s, 1);
|
||||
|
||||
PlayerID player = GetStation(s->to)->owner;
|
||||
SetDParam(3, player);
|
||||
SetDParam(3, GetStation(s->to)->owner);
|
||||
|
||||
/* Displays the two connected stations */
|
||||
xt = DrawStringTruncated(x + 2, y, STR_202C_FROM_TO, TC_FROMSTRING, width - 2);
|
||||
|
Reference in New Issue
Block a user