mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Define each identifier in a dedicated statement
This commit is contained in:
@@ -645,7 +645,8 @@ CLoadingScreen::CLoadingScreen()
|
||||
const auto & conf = CMainMenuConfig::get().getConfig()["loading"];
|
||||
if(conf.isStruct())
|
||||
{
|
||||
const int posx = conf["x"].Integer(), posy = conf["y"].Integer();
|
||||
const int posx = conf["x"].Integer();
|
||||
const int posy = conf["y"].Integer();
|
||||
const int blockSize = conf["size"].Integer();
|
||||
const int blocksAmount = conf["amount"].Integer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user