mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-02 01:42:49 +00:00
turncount fix
This commit is contained in:
parent
cc23b20764
commit
3b7f657135
@ -119,6 +119,7 @@ namespace dual {
|
|||||||
if(ok) for(int k=0; k<2; k++) {
|
if(ok) for(int k=0; k<2; k++) {
|
||||||
switch_to(k);
|
switch_to(k);
|
||||||
movepcto(d, subdir, false);
|
movepcto(d, subdir, false);
|
||||||
|
if(k == 0) turncount--;
|
||||||
}
|
}
|
||||||
switch_to(cg);
|
switch_to(cg);
|
||||||
return true;
|
return true;
|
||||||
@ -155,6 +156,7 @@ namespace dual {
|
|||||||
int flash = items[itOrbFlash], lgt = items[itOrbLightning];
|
int flash = items[itOrbFlash], lgt = items[itOrbLightning];
|
||||||
switch_to(0); forcedmovetype = fm; movepcto(0, subdir, false); forcedmovetype = fmSkip;
|
switch_to(0); forcedmovetype = fm; movepcto(0, subdir, false); forcedmovetype = fmSkip;
|
||||||
if(fm == fmInstant) { items[itOrbFlash] = flash, items[itOrbLightning] = lgt; }
|
if(fm == fmInstant) { items[itOrbFlash] = flash, items[itOrbLightning] = lgt; }
|
||||||
|
turncount--;
|
||||||
switch_to(1); forcedmovetype = fm; movepcto(0, subdir, false); forcedmovetype = fmSkip;
|
switch_to(1); forcedmovetype = fm; movepcto(0, subdir, false); forcedmovetype = fmSkip;
|
||||||
switch_to(cg);
|
switch_to(cg);
|
||||||
reduceOrbPowers();
|
reduceOrbPowers();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user