projects
/
rogue-pphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Win logic, but doesn't trigger right yet.
[rogue-pphs.git]
/
romance.c
diff --git
a/romance.c
b/romance.c
index
7f5da0c
..
3c5c2e1
100644
(file)
--- a/
romance.c
+++ b/
romance.c
@@
-166,4
+166,14
@@
int ydelta, xdelta;
embrace()
{
+ // Figure out if the player is near something w/ enough interest.
+ // Otherwise, hug something random, and make things worse.
+ if (amulet)
+ {
+ total_winner('K');
+ }
+ else
+ {
+ mostly_winner('K');
+ }
}