summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorZaba999 <zaba.marcin@gmail.com>2012-09-18 22:33:28 +0200
committerZaba999 <zaba.marcin@gmail.com>2012-09-18 22:33:28 +0200
commit36ae984ac77c5545d3d11dde7e37913a8eff0b0d (patch)
tree94a296b8b816c372b436c56fff8d75263cfe2d4a /src/object
parenta397922e8d53c6f7ff469d38e5139fd003c705b5 (diff)
downloadcolobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.tar.gz
colobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.tar.bz2
colobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.zip
Warnings cleaned, left only those connected to commented out code.
Diffstat (limited to 'src/object')
-rw-r--r--src/object/robotmain.cpp2
-rw-r--r--src/object/robotmain.h2
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();