forked from mirror/OpenTTD
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
This commit is contained in:
@@ -224,7 +224,7 @@ struct MainWindow : Window
|
||||
|
||||
virtual void OnPaint()
|
||||
{
|
||||
DrawWindowViewport(this);
|
||||
this->DrawViewport();
|
||||
if (_game_mode == GM_MENU) {
|
||||
int off_x = _screen.width / 2;
|
||||
|
||||
|
Reference in New Issue
Block a user