From 36ae984ac77c5545d3d11dde7e37913a8eff0b0d Mon Sep 17 00:00:00 2001 From: Zaba999 Date: Tue, 18 Sep 2012 22:33:28 +0200 Subject: Warnings cleaned, left only those connected to commented out code. --- src/object/robotmain.cpp | 2 +- src/object/robotmain.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/object') 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(); -- cgit v1.2.3-1-g7c22