X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=rip.c;fp=rip.c;h=5c5accde8157cd90c07f4031a5a469d00acfccbf;hp=43240e10ec942898a3d261627d1859d2a8169ce9;hb=fb2bac38c74d2e7634bec392e0ab3c738c632883;hpb=2b01379a8064b573eea4362c9b8d030ab27c6043 diff --git a/rip.c b/rip.c index 43240e1..5c5accd 100644 --- a/rip.c +++ b/rip.c @@ -389,6 +389,12 @@ char monster; } mvprintw(c - 'a' + 1, 0," %5d Gold Peices ", oldpurse); refresh(); + if (monster) + { + purse += 10 * monsters[monster - 'A'].m_stats.s_exp; + mvprintw(c - 'a' + 1, 0, "and one cute %s (priceless)", + monsters[monster - 'A'].m_name); + } score(purse, flags, monster); getch(); endwin();