mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Rework CCallback <-> CClient interaction
- callback is now part of lib instead of weird class that is shared by client and AI while being part of client - callback interacts with client class via minimal interface class - removed no longer used unlockGsWhileWaiting field
This commit is contained in:
@@ -61,7 +61,7 @@ void ClientCommandManager::handleSaveCommand(std::istringstream & singleWordBuff
|
||||
|
||||
std::string saveFilename;
|
||||
singleWordBuffer >> saveFilename;
|
||||
GAME->server().client->save(saveFilename);
|
||||
GAME->interface()->cb->save(saveFilename);
|
||||
printCommandMessage("Game saved as: " + saveFilename);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user