projects
/
rogue-pphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2b01379
)
Include partner in score list.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 7 Apr 2013 15:11:31 +0000
(17:11 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 7 Apr 2013 15:11:31 +0000
(17:11 +0200)
rip.c
patch
|
blob
|
history
diff --git
a/rip.c
b/rip.c
index 43240e10ec942898a3d261627d1859d2a8169ce9..5c5accde8157cd90c07f4031a5a469d00acfccbf 100644
(file)
--- a/
rip.c
+++ b/
rip.c
@@
-389,6
+389,12
@@
char monster;
}
\r
mvprintw(c - 'a' + 1, 0," %5d Gold Peices ", oldpurse);
\r
refresh();
\r
+ if (monster)
\r
+ {
\r
+ purse += 10 * monsters[monster - 'A'].m_stats.s_exp;
\r
+ mvprintw(c - 'a' + 1, 0, "and one cute %s (priceless)",
\r
+ monsters[monster - 'A'].m_name);
\r
+ }
\r
score(purse, flags, monster);
\r
getch();
\r
endwin();
\r