X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fio.c;h=481495d81fdb295ea0f00d622c9681a9bbbdfd22;hb=b6c140e3bd19ede26e3992c03c576515487f0a10;hp=c2a3b4b23b453fd1acdaa7cd079ddb364dca3d10;hpb=d31e6fe45b213eb5033cac5abdece4c2db59d284;p=plomrogue
diff --git a/src/client/io.c b/src/client/io.c
index c2a3b4b..481495d 100644
--- a/src/client/io.c
+++ b/src/client/io.c
@@ -196,7 +196,7 @@ static uint8_t read_world()
uint32_t linemax = textfile_sizes(file, NULL);
char * read_buf = try_malloc(linemax + 1, f_name);
world.turn = read_value_from_line(read_buf, linemax, file);
- world.score = read_value_from_line(read_buf, linemax, file);
+ world.player_score = read_value_from_line(read_buf, linemax, file);
world.player_lifepoints = read_value_from_line(read_buf, linemax, file);
read_inventory(read_buf, linemax, file);
world.player_pos.y = read_value_from_line(read_buf, linemax, file);