• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionb7af2ab62f8838ecf8f5441642e63299ade5e02d (tree)
Time2019-06-17 23:27:36
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39076 冗長なコメントを削除 (/* hack */ や show_file() 内)

Change Summary

Incremental Difference

--- a/src/files.c
+++ b/src/files.c
@@ -5290,22 +5290,14 @@ bool show_file(bool show_version, concptr name, concptr what, int line, BIT_FLAG
52905290 Term_get_size(&wid, &hgt);
52915291 rows = hgt - 4;
52925292
5293- /* Wipe finder */
52945293 strcpy(finder_str, "");
5295-
5296- /* Wipe shower */
52975294 strcpy(shower_str, "");
5298-
5299- /* Wipe caption */
53005295 strcpy(caption, "");
5301-
5302- /* Wipe the hooks */
53035296 for (i = 0; i < 68; i++)
53045297 {
53055298 hook[i][0] = '\0';
53065299 }
53075300
5308- /* Copy the filename */
53095301 strcpy(filename, name);
53105302
53115303 n = strlen(filename);
@@ -5324,7 +5316,6 @@ bool show_file(bool show_version, concptr name, concptr what, int line, BIT_FLAG
53245316 /* Redirect the name */
53255317 name = filename;
53265318
5327- /* Hack */
53285319 if (what)
53295320 {
53305321 /* Caption */
--- a/src/spells-status.c
+++ b/src/spells-status.c
@@ -193,7 +193,6 @@ bool time_walk(player_type *creature_ptr)
193193 // msg_print(_("「『ザ・ワールド』!時は止まった!」", "You yell 'The World! Time has stopped!'"));
194194 msg_print(NULL);
195195
196- /* Hack */
197196 creature_ptr->energy_need -= 1000 + (100 + p_ptr->csp - 50)*TURNS_PER_TICK / 10;
198197 creature_ptr->redraw |= (PR_MAP);
199198 creature_ptr->update |= (PU_MONSTERS);
--- a/src/wizard1.c
+++ b/src/wizard1.c
@@ -221,7 +221,6 @@ static void kind_info(char *buf, char *dam, char *wgt, char *chance, DEPTH *lev,
221221 (*lev) = k_info[q_ptr->k_idx].level;
222222 (*val) = object_value(q_ptr);
223223
224- /* Hack */
225224 if (!buf || !dam || !chance || !wgt) return;
226225
227226 /* Description (too brief) */
Show on old repository browser