diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 22:33:28 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 22:33:28 +0200 |
commit | 36ae984ac77c5545d3d11dde7e37913a8eff0b0d (patch) | |
tree | 94a296b8b816c372b436c56fff8d75263cfe2d4a /src/object | |
parent | a397922e8d53c6f7ff469d38e5139fd003c705b5 (diff) | |
download | colobot-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.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(); |