1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-08 18:50:15 +00:00

used movei in movement animations; also replaced animateReplacement with indAnimateMovement

This commit is contained in:
Zeno Rogue
2019-11-22 16:32:05 +01:00
parent 8ac9562c31
commit 3078451283
3 changed files with 48 additions and 45 deletions

View File

@@ -2933,7 +2933,7 @@ EX namespace kraken {
noconflict = false; */
/* if(noconflict) */ {
// found = true;
indAnimateMovement(acells[i].first, acells[i].second, LAYER_BIG, NOHINT);
indAnimateMovement(match(acells[i].first, acells[i].second), LAYER_BIG);
acells[i] = acells[isize(acells)-1];
acells.resize(isize(acells)-1);
i--;