projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove FPS from being next to the version string
[oweals/minetest.git]
/
src
/
player.cpp
diff --git
a/src/player.cpp
b/src/player.cpp
index 0d506ec99a8e4ceb46bc73814afdd84a1c984b4b..40d403952bbbeac0b0c5822d8ef1803212dffc60 100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-100,6
+100,7
@@
Player::Player(IGameDef *gamedef):
Player::~Player()
{
Player::~Player()
{
+ clearHud();
}
// Horizontal acceleration (X and Z), Y direction is ignored
}
// Horizontal acceleration (X and Z), Y direction is ignored
@@
-314,6
+315,7
@@
void RemotePlayer::save(std::string savedir)
return;
}
testplayer.deSerialize(is, path);
return;
}
testplayer.deSerialize(is, path);
+ is.close();
if (strcmp(testplayer.getName(), m_name) == 0) {
// Open file and serialize
std::ostringstream ss(std::ios_base::binary);
if (strcmp(testplayer.getName(), m_name) == 0) {
// Open file and serialize
std::ostringstream ss(std::ios_base::binary);