- bugfix for compilation in vc++

This commit is contained in:
Mark Vejvoda 2011-09-28 04:41:02 +00:00
parent 5b3693c96e
commit 59246056bc
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ void Window::toggleFullscreen() {
Use 0 for Height, Width, and Color Depth to keep the current values. */
if(Window::allowAltEnterFullscreenToggle == true) {
if(this->masterserverMode == false) {
if(Window::masterserverMode == false) {
SDL_Surface *cur_surface = SDL_GetVideoSurface();
if(cur_surface != NULL) {
Window::isFullScreen = !((cur_surface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN);