Jelajahi Sumber

Fix compiling (how does it work on mac?)

nordsoft 2 tahun lalu
induk
melakukan
937935ce8c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      client/mainmenu/CMainMenu.cpp

+ 1 - 1
client/mainmenu/CMainMenu.cpp

@@ -641,7 +641,7 @@ std::string CLoadingScreen::getBackground()
 		return fname;
 	}
 	
-	if(conf.isVector() and !conf.Vector().empty())
+	if(conf.isVector() && !conf.Vector().empty())
 		return RandomGeneratorUtil::nextItem(conf.Vector(), CRandomGenerator::getDefault())->String();
 	
 	return fname;