Browse Source

Cleaner string handling courtesy rarified

tickets/07/7/1
John Johns 3 years ago
parent
commit
59b45769ee
  1. 3
      Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp

3
Sources/Plasma/PubUtilLib/plPhysX/plPXPhysical.cpp

@ -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,

Loading…
Cancel
Save