1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +00:00

Remove redundant reference for ESM::RefId variables

This commit is contained in:
elsid 2024-10-06 11:32:31 +02:00
parent 0665de4c09
commit 52ab136dd6
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -456,8 +456,8 @@ namespace MWRender
mHeadModel.clear();
mHairModel.clear();
const ESM::RefId& headName = isWerewolf ? ESM::RefId::stringRefId("WerewolfHead") : mNpc->mHead;
const ESM::RefId& hairName = isWerewolf ? ESM::RefId::stringRefId("WerewolfHair") : mNpc->mHair;
const ESM::RefId headName = isWerewolf ? ESM::RefId::stringRefId("WerewolfHead") : mNpc->mHead;
const ESM::RefId hairName = isWerewolf ? ESM::RefId::stringRefId("WerewolfHair") : mNpc->mHair;
if (!headName.empty())
{