summaryrefslogtreecommitdiffstats
path: root/src/object/robotmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/robotmain.cpp')
-rw-r--r--src/object/robotmain.cpp2
1 files changed, 1 insertions, 1 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);