(svn r21666) -Codechange: Use GetCallbackWnd at more places.

This commit is contained in:
alberth
2010-12-30 13:18:04 +00:00
parent 22a13850cb
commit cedb07bba3
2 changed files with 4 additions and 4 deletions

View File

@@ -2585,7 +2585,7 @@ bool VehicleClicked(const Vehicle *v)
v = v->First();
if (!v->IsPrimaryVehicle()) return false;
FindWindowById(_thd.window_class, _thd.window_number)->OnVehicleSelect(v);
_thd.GetCallbackWnd()->OnVehicleSelect(v);
return true;
}