mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
don't edit buggy dragons while still in the Map Editor
This commit is contained in:
parent
46e222711c
commit
214af58f7c
@ -2321,6 +2321,7 @@ namespace dragon {
|
|||||||
if(c->mov[i] && isDragon(c->mov[i]->monst) && c->mov[i]->mondir == c->spn(i)) {
|
if(c->mov[i] && isDragon(c->mov[i]->monst) && c->mov[i]->mondir == c->spn(i)) {
|
||||||
c = c->mov[i]; goto findhead;
|
c = c->mov[i]; goto findhead;
|
||||||
}
|
}
|
||||||
|
if(cmode & sm::MAP) return c;
|
||||||
if(!conformal::includeHistory) {
|
if(!conformal::includeHistory) {
|
||||||
printf("dragon bug #3 (%p -> %p)\n", cor, c);
|
printf("dragon bug #3 (%p -> %p)\n", cor, c);
|
||||||
dragbugs = true;
|
dragbugs = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user