mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Encapsulation of WindowHandler state
This commit is contained in:
@@ -271,7 +271,7 @@ void ScreenHandler::initializeScreenBuffers()
|
||||
throw std::runtime_error("Unable to copy surface\n");
|
||||
}
|
||||
|
||||
if (GH.windows().listInt.size() > 1)
|
||||
if (GH.windows().count() > 1)
|
||||
screenBuf = screen2;
|
||||
else
|
||||
screenBuf = screen;
|
||||
|
||||
Reference in New Issue
Block a user