diff --git a/Source/Contents/HeadResources.cpp b/Source/Contents/HeadResources.cpp index 9ef48300e..0ab3e8a23 100644 --- a/Source/Contents/HeadResources.cpp +++ b/Source/Contents/HeadResources.cpp @@ -255,8 +255,8 @@ std::string EquipmentResourceMgr::GetHeadPalName(int head, int job, int sex, int } if (!ResourceMgr::Instance().Exists(result.c_str())) { - sexName = g_session.GetSexName(sex); - result = FormatOwnedString("%s\\머리\\머리%s_%s_%d.pal", this->GetBodyRacePrefix(job).c_str(), headName.c_str(), sexName.c_str(), palette); + sexName = static_cast(g_session.GetSexName(sex)); + result = static_cast(FormatOwnedString("%s\\머리\\머리%s_%s_%d.pal", this->GetBodyRacePrefix(job).c_str(), headName.c_str(), sexName.c_str(), palette)); } return result; @@ -269,8 +269,8 @@ std::string EquipmentResourceMgr::GetHeadPalName(int head, int job, int sex, int headName = g_session.m_humanFemaleHeadNames[head]; } - sexName = g_session.GetSexName(sex); - result = FormatOwnedString("머리\\머리%s_%s_%d.pal", headName.c_str(), sexName.c_str(), palette); + sexName = static_cast(g_session.GetSexName(sex)); + result = static_cast(FormatOwnedString("머리\\머리%s_%s_%d.pal", headName.c_str(), sexName.c_str(), palette)); return result; } } diff --git a/Source/Contents/RobeResources.cpp b/Source/Contents/RobeResources.cpp index 5a67f24d3..a294ee7ea 100644 --- a/Source/Contents/RobeResources.cpp +++ b/Source/Contents/RobeResources.cpp @@ -64,10 +64,10 @@ std::string EquipmentResourceMgr::GetShieldResourceName(int type, int job, int s std::string shieldName; const int shieldView = g_session.GetItemDescription40(shield); - sexName = g_session.GetSexName(sex); + sexName = static_cast(g_session.GetSexName(sex)); bool exists = false; if (shield >= 5 && g_session.HasJobShieldSprite(job, shield) == true) { - path = FormatOwnedString("방패\\%s_%s_%d_방패.%s", g_session.m_shieldJobNames[spriteJob], sexName.c_str(), shield, g_equipmentResourceExtensions[type]); + path = static_cast(FormatOwnedString("방패\\%s_%s_%d_방패.%s", g_session.m_shieldJobNames[spriteJob], sexName.c_str(), shield, g_equipmentResourceExtensions[type])); exists = ResourceMgr::Instance().Exists(path.c_str()); } @@ -76,8 +76,8 @@ std::string EquipmentResourceMgr::GetShieldResourceName(int type, int job, int s return ""; } - shieldName = g_session.GetRobeName(shieldView); - path = FormatOwnedString("방패\\%s_%s%s.%s", g_session.m_shieldJobNames[spriteJob], sexName.c_str(), shieldName.c_str(), g_equipmentResourceExtensions[type]); + shieldName = static_cast(g_session.GetRobeName(shieldView)); + path = static_cast(FormatOwnedString("방패\\%s_%s%s.%s", g_session.m_shieldJobNames[spriteJob], sexName.c_str(), shieldName.c_str(), g_equipmentResourceExtensions[type])); exists = ResourceMgr::Instance().Exists(path.c_str()); }