branch | NewGRF_ports |
changeset 10994 | cd9968b6f96b |
parent 10724 | 68a692eacf22 |
--- a/src/video/null_v.cpp Tue Jun 17 10:32:49 2008 +0000 +++ b/src/video/null_v.cpp Tue Jun 17 13:22:13 2008 +0000 @@ -15,8 +15,8 @@ const char *VideoDriver_Null::Start(const char* const *parm) { this->ticks = GetDriverParamInt(parm, "ticks", 1000); - _screen.width = _screen.pitch = _cur_resolution[0]; - _screen.height = _cur_resolution[1]; + _screen.width = _screen.pitch = _cur_resolution.width; + _screen.height = _cur_resolution.height; ScreenSizeChanged(); /* Do not render, nor blit */