v0.3.1: fixed a bug where the hero would keep running after death.

This commit is contained in:
Evan Debenham
2015-06-23 21:30:31 -04:00
committed by Evan Debenham
parent 0e49bb154b
commit 7097f6f54e
@@ -1008,9 +1008,8 @@ public class Hero extends Char {
if (step != -1) {
int oldPos = pos;
sprite.move(pos, step);
move(step);
sprite.move(oldPos, pos);
spend( 1 / speed() );
return true;