mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-09 23:50:08 +00:00
fixed worm movement (prairie::no_worms returned true outside prairie)
This commit is contained in:
parent
5939d5e6d2
commit
08c08f9d6c
@ -3047,6 +3047,7 @@ EX namespace prairie {
|
|||||||
#define RHIGH (sphere?(PURE?8:9):PURE?11:13)
|
#define RHIGH (sphere?(PURE?8:9):PURE?11:13)
|
||||||
|
|
||||||
EX bool no_worms(cell *c) {
|
EX bool no_worms(cell *c) {
|
||||||
|
if(c->land != laPrairie) return false;
|
||||||
int rv = c->LHU.fi.rval;
|
int rv = c->LHU.fi.rval;
|
||||||
return rv > RLOW+1 && rv < RHIGH-1;
|
return rv > RLOW+1 && rv < RHIGH-1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user