diff --git a/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp b/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp index 8f7f1ca8..fe43b494 100644 --- a/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp +++ b/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp @@ -28,7 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "plGenericVar.h" #include "pnMessage/plMessage.h" -plNetSharedState::plNetSharedState(char* name) : fServerMayDelete(false) +plNetSharedState::plNetSharedState(const char* name) : fServerMayDelete(false) { SetName(name); } diff --git a/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h b/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h index 707fcb25..2fae4637 100644 --- a/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h +++ b/Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h @@ -44,7 +44,7 @@ protected: bool fServerMayDelete; // ok to delete (don't save) since this state is equivalent to the default state public: - plNetSharedState(char* name=nil); + plNetSharedState(const char* name=nil); virtual ~plNetSharedState(); virtual void Copy(plNetSharedState* ss);