diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index d1dfffa0b..87eaad2fe 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -419,15 +419,10 @@ public: /** Saves all player data, such as inventory, to JSON. */ void SaveToDisk(void); - /** Loads the player data from the disk file. + /** Loads the player data from the save file. Sets m_World to the world where the player will spawn, based on the stored world name or the default world by calling LoadFromFile(). */ void LoadFromDisk(); - /** Loads the player data from the specified file. - Sets m_World to the world where the player will spawn, based on the stored world name or the default world. - Returns true on success, false if the player wasn't found, and excepts with base std::runtime_error if the data couldn't be read or parsed. */ - bool LoadFromFile(const AString & a_FileName); - const AString & GetLoadedWorldName() const { return m_CurrentWorldName; } /** Opens the inventory of any tame horse the player is riding. |