変愚蛮怒のメインリポジトリです
Révision | d2328eed5342e9e178af9a8cea1afd9a74ec7a07 (tree) |
---|---|
l'heure | 2002-01-15 16:25:49 |
Auteur | mogami <mogami@0568...> |
Commiter | mogami |
なぜか、REALM1 REALM2 の処理が重複していたので片方削除。タイルグラフィック使用中でもダンプファイルの耐性表示欄の上が文字化けしないように修正。
@@ -954,26 +954,6 @@ static cptr process_pref_file_expr(char **sp, char *fp) | ||
954 | 954 | #endif |
955 | 955 | } |
956 | 956 | |
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 | - | |
977 | 957 | /* Player */ |
978 | 958 | else if (streq(b+1, "PLAYER")) |
979 | 959 | { |
@@ -4286,8 +4266,11 @@ errr make_character_dump(FILE *fff) | ||
4286 | 4266 | /* Get the attr/char */ |
4287 | 4267 | (void)(Term_what(x, y, &a, &c)); |
4288 | 4268 | |
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] = ' '; | |
4291 | 4274 | } |
4292 | 4275 | |
4293 | 4276 | /* End the string */ |