summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-06-21 18:32:28 +0000
committerPilzAdam <pilzadam@minetest.net>2013-06-22 21:39:47 +0000
commit130464c2688fc2c9cd39d16568c12f17c105cb89 (patch)
treefec63cbebc26e220d25bdc7d1f7a4f7c6e42b13a /src/player.h
parent4d77781ce7cba571701e731b1f442af691933720 (diff)
downloadminetest-130464c2688fc2c9cd39d16568c12f17c105cb89.tar.gz
minetest-130464c2688fc2c9cd39d16568c12f17c105cb89.tar.bz2
minetest-130464c2688fc2c9cd39d16568c12f17c105cb89.zip
Print playername when failing to read playerfile and ignore files starting with .
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index 517bd354d..89e4667c4 100644
--- a/src/player.h
+++ b/src/player.h
@@ -197,7 +197,7 @@ public:
deSerialize stops reading exactly at the right point.
*/
void serialize(std::ostream &os);
- void deSerialize(std::istream &is);
+ void deSerialize(std::istream &is, std::string playername);
bool touching_ground;
// This oscillates so that the player jumps a bit above the surface