mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
(int) -> static_cast<int>
This commit is contained in:
@ -718,7 +718,7 @@ void CGameState::init(StartInfo * si, bool allowSavingRandomMap)
|
||||
initCampaign();
|
||||
break;
|
||||
default:
|
||||
logGlobal->error("Wrong mode: %d", (int)scenarioOps->mode);
|
||||
logGlobal->error("Wrong mode: %d", static_cast<int>(scenarioOps->mode));
|
||||
return;
|
||||
}
|
||||
VLC->arth->initAllowedArtifactsList(map->allowedArtifact);
|
||||
|
Reference in New Issue
Block a user