mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-30 21:42:59 +00:00
fixed some bugs with which_copy -- now should consistently use the View coordinate system
This commit is contained in:
4
orbs.cpp
4
orbs.cpp
@@ -623,7 +623,7 @@ EX void teleportTo(cell *dest) {
|
||||
cell *from = cwt.at;
|
||||
movecost(from, dest, 1);
|
||||
playerMoveEffects(movei(cwt.at, dest, TELEPORT));
|
||||
current_display->which_copy = unshift(ggmatrix(dest));
|
||||
fix_whichcopy(dest);
|
||||
cwt.at = dest; cwt.spin = hrand(dest->type); flipplayer = !!(hrand(2));
|
||||
drainOrb(itOrbTeleport);
|
||||
|
||||
@@ -713,7 +713,7 @@ EX bool jumpTo(orbAction a, cell *dest, eItem byWhat, int bonuskill IS(0), eMons
|
||||
|
||||
changes.commit();
|
||||
|
||||
current_display->which_copy = unshift(ggmatrix(dest));
|
||||
fix_whichcopy(dest);
|
||||
countLocalTreasure();
|
||||
|
||||
for(int i=9; i>=0; i--)
|
||||
|
||||
Reference in New Issue
Block a user