B04008 Minetown fountain warnings prevent fountain gem/gold discovery
<Someone> writes: I can accept that losing gold into a fountain recharges it to make it possible to find a gem in it in future (however weird that is). What _does_ seem wrong is that receiving a warning about a Minetown fountain prevents finding gems and gold there.
This commit is contained in:
@@ -267,6 +267,12 @@ extern const struct symdef def_warnsyms[WARNCOUNT];
|
||||
*/
|
||||
#define F_LOOTED 1
|
||||
#define F_WARNED 2
|
||||
#define FOUNTAIN_IS_WARNED(x,y) (levl[x][y].looted & F_WARNED)
|
||||
#define FOUNTAIN_IS_LOOTED(x,y) (levl[x][y].looted & F_LOOTED)
|
||||
#define SET_FOUNTAIN_WARNED(x,y) levl[x][y].looted |= F_WARNED;
|
||||
#define SET_FOUNTAIN_LOOTED(x,y) levl[x][y].looted |= F_LOOTED;
|
||||
#define CLEAR_FOUNTAIN_WARNED(x,y) levl[x][y].looted &= ~F_WARNED;
|
||||
#define CLEAR_FOUNTAIN_LOOTED(x,y) levl[x][y].looted &= ~F_LOOTED;
|
||||
|
||||
/*
|
||||
* Doors are even worse :-) The special warning has a side effect
|
||||
|
||||
Reference in New Issue
Block a user