From fb2bac38c74d2e7634bec392e0ab3c738c632883 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sun, 7 Apr 2013 17:11:31 +0200 Subject: [PATCH] Include partner in score list. --- rip.c | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- 2.30.2