diff options
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/robotmain.cpp | 2 | ||||
-rw-r--r-- | src/object/robotmain.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index c4da53d..3d1aff0 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -6362,7 +6362,7 @@ char* CRobotMain::GetFilesDir() //! Change the player's name -void CRobotMain::SetGamerName(char *name) +void CRobotMain::SetGamerName(const char *name) { strcpy(m_gamerName, name); SetGlobalGamerName(m_gamerName); diff --git a/src/object/robotmain.h b/src/object/robotmain.h index 96fdc51..25c55f6 100644 --- a/src/object/robotmain.h +++ b/src/object/robotmain.h @@ -245,7 +245,7 @@ public: char* GetPublicDir(); char* GetFilesDir(); - void SetGamerName(char *name); + void SetGamerName(const char *name); char* GetGamerName(); int GetGamerFace(); int GetGamerGlasses(); |