projects
/
victrix-abyssi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d2eeb
)
Fix bug in flask-throwing
author
Martin Read
<martin@blackswordsonics.com>
Mon, 23 Sep 2013 19:36:37 +0000
(20:36 +0100)
committer
Martin Read
<martin@blackswordsonics.com>
Mon, 23 Sep 2013 19:36:37 +0000
(20:36 +0100)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
ed4f03b
..
d8652de
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-388,7
+388,7
@@
int do_command(enum game_cmd cmd)
j = select_dir(&sy, &sx);
if (j != -1)
{
- return throw_flask(
i
, sy, sx);
+ return throw_flask(
u.inventory[i]
, sy, sx);
}
}
return 0;