summaryrefslogtreecommitdiff
path: root/include/d/d_save.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/d/d_save.h')
-rw-r--r--include/d/d_save.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/d/d_save.h b/include/d/d_save.h
index ca7987add2..e8eccb9d1b 100644
--- a/include/d/d_save.h
+++ b/include/d/d_save.h
@@ -469,6 +469,7 @@ class dSv_player_info_c {
public:
void init();
char* getLinkName() { return mPlayerName; }
+ const char* getPlayerName() const { return mPlayerName; }
char* getHorseName() { return mHorseName; }
void setPlayerName(const char* i_name) { strcpy((char*)mPlayerName, i_name); }
void setHorseName(const char* i_name) { strcpy((char*)mHorseName, i_name); }