• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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


Commit MetaInfo

Révisiond2328eed5342e9e178af9a8cea1afd9a74ec7a07 (tree)
l'heure2002-01-15 16:25:49
Auteurmogami <mogami@0568...>
Commitermogami

Message de Log

なぜか、REALM1 REALM2 の処理が重複していたので片方削除。タイルグラフィック使用中でもダンプファイルの耐性表示欄の上が文字化けしないように修正。

Change Summary

Modification

--- a/src/files.c
+++ b/src/files.c
@@ -954,26 +954,6 @@ static cptr process_pref_file_expr(char **sp, char *fp)
954954 #endif
955955 }
956956
957- /* First realm */
958- else if (streq(b+1, "REALM1"))
959- {
960-#ifdef JP
961- v = E_realm_names[p_ptr->realm1];
962-#else
963- v = realm_names[p_ptr->realm1];
964-#endif
965- }
966-
967- /* Second realm */
968- else if (streq(b+1, "REALM2"))
969- {
970-#ifdef JP
971- v = E_realm_names[p_ptr->realm2];
972-#else
973- v = realm_names[p_ptr->realm2];
974-#endif
975- }
976-
977957 /* Player */
978958 else if (streq(b+1, "PLAYER"))
979959 {
@@ -4286,8 +4266,11 @@ errr make_character_dump(FILE *fff)
42864266 /* Get the attr/char */
42874267 (void)(Term_what(x, y, &a, &c));
42884268
4289- /* Dump it */
4290- buf[x] = c;
4269+ /* Dump it (Ignore equippy tile graphic) */
4270+ if (a < 128)
4271+ buf[x] = c;
4272+ else
4273+ buf[x] = ' ';
42914274 }
42924275
42934276 /* End the string */