v0.6.5c: fixed a serious exploit involving the timekeeper's hourglass

This commit is contained in:
Evan Debenham 2018-05-17 20:11:05 -04:00
parent ca34897baf
commit f1063c1e0d

View File

@ -874,7 +874,6 @@ public class Hero extends Char {
if (enemy.isAlive() && canAttack( enemy ) && !isCharmedBy( enemy )) {
spend( attackDelay() );
sprite.attack( enemy.pos );
return false;
@ -1433,6 +1432,7 @@ public class Hero extends Char {
}
Invisibility.dispel();
spend( attackDelay() );
curAction = null;