forked from mirror/OpenTTD
(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
This commit is contained in:
@@ -826,7 +826,7 @@ static void PlayerRoadVehWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
/* draw the widgets */
|
||||
{
|
||||
const Player *p = DEREF_PLAYER(owner);
|
||||
const Player *p = GetPlayer(owner);
|
||||
if (station == -1) {
|
||||
/* Company Name -- (###) Road vehicles */
|
||||
SetDParam(0, p->name_1);
|
||||
|
Reference in New Issue
Block a user