OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a41aa79
)
[Fix] モンスターボールで広域マップ移動が重くなる
author
shimitei
<shimitei@gmail.com>
Tue, 15 Jun 2021 11:37:11 +0000
(20:37 +0900)
committer
shimitei
<shimitei@gmail.com>
Tue, 15 Jun 2021 11:37:11 +0000
(20:37 +0900)
ボール中モンスターのHP自然回復処理で描画フラグが立つため、広域マップ移動が重くなっていた。
現在ボールの表示は変化しないため描画フラグをコメントアウトする。
src/hpmp/hp-mp-regenerator.cpp
patch
|
blob
|
history
diff --git
a/src/hpmp/hp-mp-regenerator.cpp
b/src/hpmp/hp-mp-regenerator.cpp
index
b11c261
..
4f73b9a
100644
(file)
--- a/
src/hpmp/hp-mp-regenerator.cpp
+++ b/
src/hpmp/hp-mp-regenerator.cpp
@@
-227,8
+227,9
@@
void regenerate_captured_monsters(player_type *creature_ptr)
if (heal) {
creature_ptr->update |= (PU_COMBINE);
- creature_ptr->window_flags |= (PW_INVEN);
- creature_ptr->window_flags |= (PW_EQUIP);
+ // FIXME 広域マップ移動で1歩毎に何度も再描画されて重くなる。現在はボール中モンスターのHP回復でボールの表示は変わらないためコメントアウトする。
+ //creature_ptr->window_flags |= (PW_INVEN);
+ //creature_ptr->window_flags |= (PW_EQUIP);
wild_regen = 20;
}
}