diff --git a/Sources/Plasma/NucleusLib/pnNetCommon/plNetGroup.h b/Sources/Plasma/NucleusLib/pnNetCommon/plNetGroup.h index 8f74183b..086a90f6 100644 --- a/Sources/Plasma/NucleusLib/pnNetCommon/plNetGroup.h +++ b/Sources/Plasma/NucleusLib/pnNetCommon/plNetGroup.h @@ -57,7 +57,8 @@ private: plLocation fId; uint8_t fFlags; - std::string fDesc; // description of room + plString fDesc; // description of room + public: plNetGroupId() : fFlags(0) {} diff --git a/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp b/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp index c514555a..b5edf383 100644 --- a/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp +++ b/Sources/Plasma/PubUtilLib/plSDL/plStateVariable.cpp @@ -1791,7 +1791,7 @@ bool plSimpleStateVariable::IWriteData(hsStream* s, float timeConvert, int idx, { // hsAssert(false, "plSimpleStateVariable::WriteData doesn't contain data?"); plNetApp::StaticWarningMsg("plSimpleStateVariable::WriteData Var %s doesn't contain data?", - GetName()); + GetName().c_str()); } #endif @@ -1961,7 +1961,7 @@ bool plSimpleStateVariable::WriteData(hsStream* s, float timeConvert, uint32_t w { // hsAssert(false, "plSimpleStateVariable::WriteData Var doesn't contain data?"); plNetApp::StaticWarningMsg("plSimpleStateVariable::WriteData Var %s doesn't contain data?", - GetName()); + GetName().c_str()); } #endif