don't edit buggy dragons while still in the Map Editor

This commit is contained in:
Zeno Rogue 2017-11-13 00:34:49 +01:00
parent 46e222711c
commit 214af58f7c
1 changed files with 1 additions and 0 deletions

View File

@ -2321,6 +2321,7 @@ namespace dragon {
if(c->mov[i] && isDragon(c->mov[i]->monst) && c->mov[i]->mondir == c->spn(i)) {
c = c->mov[i]; goto findhead;
}
if(cmode & sm::MAP) return c;
if(!conformal::includeHistory) {
printf("dragon bug #3 (%p -> %p)\n", cor, c);
dragbugs = true;