2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Cleaner string handling courtesy rarified

This commit is contained in:
John Johns
2021-05-31 11:14:26 -07:00
parent 576ac25f03
commit 59b45769ee

View File

@ -611,8 +611,7 @@ hsBool plPXPhysical::HandleRefMsg(plGenRefMsg* refMsg)
subWorldIface = new plPXSubWorld();
// This can be simplified if/when incorporating zrax' String Theory library
std::string strKeyName = subSO->GetKeyName();
strKeyName += "_DefSubWorld";
std::string strKeyName = std::string(subSO->GetKeyName()) + "_DefSubWorld";
const char *cKeyName = strKeyName.c_str();
hsgResMgr::ResMgr()->NewKey(cKeyName,