mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-20 07:00:56 +00:00
Some formatting changes I missed
This commit is contained in:
parent
be54521cfa
commit
f8a96fae24
2 changed files with 4 additions and 2 deletions
|
|
@ -54,7 +54,8 @@ void MWWorld::InventoryStore::storeEquipmentState(
|
|||
inventory.mEquipmentSlots[static_cast<uint32_t>(index)] = i;
|
||||
}
|
||||
|
||||
// I'm not sure if the narrowing cast below is safe, but I think it'd break the save format if I widen the destination type
|
||||
// I'm not sure if the narrowing cast below is safe, but I think it'd break the save format if I widen the
|
||||
// destination type
|
||||
if (mSelectedEnchantItem.getType() != -1 && mSelectedEnchantItem->getBase() == &ref)
|
||||
inventory.mSelectedEnchantItem = static_cast<uint32_t>(index);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@ namespace
|
|||
// blendmap, apparently.
|
||||
matrix.preMultTranslate(osg::Vec3f(1.0f / blendmapScale / 4.0f, 1.0f / blendmapScale / 4.0f, 0.f));
|
||||
|
||||
texMat = mTexMatMap.insert(std::make_pair(static_cast<float>(blendmapScale), new osg::TexMat(matrix))).first;
|
||||
texMat = mTexMatMap.insert(std::make_pair(static_cast<float>(blendmapScale), new osg::TexMat(matrix)))
|
||||
.first;
|
||||
}
|
||||
return texMat->second;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue