From 130464c2688fc2c9cd39d16568c12f17c105cb89 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Fri, 21 Jun 2013 18:32:28 +0000 Subject: Print playername when failing to read playerfile and ignore files starting with . --- src/player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player.h') 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 -- cgit v1.2.3