mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Fix GCC warnings
This commit is contained in:
parent
aeb46f5fba
commit
ba71eefbae
3 changed files with 9 additions and 7 deletions
|
@ -189,9 +189,9 @@ void CSMTools::FixLandsAndLandTexturesMergeStage::perform(int stage, CSMDoc::Mes
|
|||
CSMWorld::IdTable& ltexTable = dynamic_cast<CSMWorld::IdTable&>(
|
||||
*mState.mTarget->getData().getTableModel(CSMWorld::UniversalId::Type_LandTextures));
|
||||
|
||||
const std::string& id = mState.mTarget->getData().getLand().getId(stage).getRefIdString();
|
||||
const auto& id = mState.mTarget->getData().getLand().getId(stage);
|
||||
|
||||
CSMWorld::TouchLandCommand cmd(landTable, ltexTable, id);
|
||||
CSMWorld::TouchLandCommand cmd(landTable, ltexTable, id.getRefIdString());
|
||||
cmd.redo();
|
||||
|
||||
// Get rid of base data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue