OSDN Git Service

Revert "Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband"
[hengband/hengband.git] / src / report.c
index 5dbe8fa..ad5d1da 100644 (file)
@@ -7,13 +7,6 @@
 
 #define _GNU_SOURCE /*!< 未使用*/
 #include "angband.h"
-#include "util.h"
-
-#include "floor.h"
-#include "player-status.h"
-#include "player-class.h"
-#include "files.h"
-#include "world.h"
 
 #ifdef WORLD_SCORE
 
@@ -472,7 +465,7 @@ errr report_score(void)
        buf_sprintf(score, "version: Hengband %d.%d.%d\n",
                    FAKE_VER_MAJOR-10, FAKE_VER_MINOR, FAKE_VER_PATCH);
 #endif
-       buf_sprintf(score, "score: %d\n", calc_score());
+       buf_sprintf(score, "score: %d\n", total_points());
        buf_sprintf(score, "level: %d\n", p_ptr->lev);
        buf_sprintf(score, "depth: %d\n", current_floor_ptr->dun_level);
        buf_sprintf(score, "maxlv: %d\n", p_ptr->max_plv);