Merge branch 'development' into cmake/SPEC-7182
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> # Conflicts: # Code/Editor/QtUtil.h # Code/Legacy/CryCommon/Linux_Win32Wrapper.h # Code/Legacy/CryCommon/ProjectDefines.h # Code/Legacy/CryCommon/StringUtils.h # Code/Legacy/CryCommon/UnicodeBinding.h # Code/Legacy/CryCommon/UnicodeEncoding.h # Code/Legacy/CryCommon/UnicodeFunctions.h # Code/Legacy/CryCommon/UnicodeIterator.h # Code/Legacy/CryCommon/WinBase.cpp # Code/Legacy/CryCommon/platform.h # Code/Legacy/CryCommon/platform_impl.cpp # Gems/LyShine/Code/Source/Animation/UiAnimationSystem.cpp # Gems/Maestro/Code/Source/Cinematics/Movie.cpp
This commit is contained in:
@@ -476,7 +476,7 @@ CLevelInfo* CLevelSystem::GetLevelInfoInternal(const AZStd::string& levelName)
|
||||
for (AZStd::vector<CLevelInfo>::iterator it = m_levelInfos.begin(); it != m_levelInfos.end(); ++it)
|
||||
{
|
||||
{
|
||||
if (!azstricmp(PathUtil::GetFileName(it->GetName()), levelName.c_str()))
|
||||
if (!azstricmp(PathUtil::GetFileName(it->GetName()).c_str(), levelName.c_str()))
|
||||
{
|
||||
return &(*it);
|
||||
}
|
||||
@@ -563,7 +563,7 @@ ILevel* CLevelSystem::LoadLevelInternal(const char* _levelName)
|
||||
INDENT_LOG_DURING_SCOPE();
|
||||
|
||||
char levelName[256];
|
||||
cry_strcpy(levelName, _levelName);
|
||||
azstrcpy(levelName, AZ_ARRAY_SIZE(levelName), _levelName);
|
||||
|
||||
// Not remove a scope!!!
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user