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:
9321d31
)
Add energy use for QuestEnter/QuestExit.
author
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 8 Dec 2012 12:04:40 +0000
(12:04 +0000)
committer
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 8 Dec 2012 12:04:40 +0000
(12:04 +0000)
src/cmd2.c
patch
|
blob
|
history
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
8351624
..
251a555
100644
(file)
--- a/
src/cmd2.c
+++ b/
src/cmd2.c
@@
-109,6
+109,9
@@
void do_cmd_go_up(void)
p_ptr->oldpx = 0;
p_ptr->oldpy = 0;
+
+ /* Hack -- take a turn */
+ energy_use = 100;
/* End the command */
return;
@@
-275,6
+278,10
@@
void do_cmd_go_down(void)
p_ptr->oldpx = 0;
p_ptr->oldpy = 0;
+
+
+ /* Hack -- take a turn */
+ energy_use = 100;
}
else