mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
creating Mimics in the map editor now works correctly
This commit is contained in:
parent
06de0989cd
commit
69429ba4d4
@ -547,6 +547,12 @@ namespace mapeditor {
|
|||||||
if((isWorm(c) || isIvy(c) || isMutantIvy(c)) && c->mov[cdir] &&
|
if((isWorm(c) || isIvy(c) || isMutantIvy(c)) && c->mov[cdir] &&
|
||||||
!isWorm(c->mov[cdir]) && !isIvy(c->mov[cdir]))
|
!isWorm(c->mov[cdir]) && !isIvy(c->mov[cdir]))
|
||||||
c->mondir = NODIR;
|
c->mondir = NODIR;
|
||||||
|
|
||||||
|
if(c->monst == moMimic) {
|
||||||
|
c->monst = moNone;
|
||||||
|
mirror::createMirror(cellwalker(c, cdir, true), 0);
|
||||||
|
c->monst = moMimic;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
c->item = eItem(paintwhat);
|
c->item = eItem(paintwhat);
|
||||||
|
Loading…
Reference in New Issue
Block a user