fixed worm movement (prairie::no_worms returned true outside prairie)

This commit is contained in:
Zeno Rogue 2019-10-27 02:43:47 +01:00
parent 5939d5e6d2
commit 08c08f9d6c
1 changed files with 1 additions and 0 deletions

View File

@ -3047,6 +3047,7 @@ EX namespace prairie {
#define RHIGH (sphere?(PURE?8:9):PURE?11:13)
EX bool no_worms(cell *c) {
if(c->land != laPrairie) return false;
int rv = c->LHU.fi.rval;
return rv > RLOW+1 && rv < RHIGH-1;
}