Remove bad code

This was not necessary here, it was left during the tests of monsters cornering using RealOTS code. Issue: #20
This commit is contained in:
Alejandro Mujica 2019-02-07 23:17:28 -04:00
parent 000460265c
commit f23dbf2575

View File

@ -1224,7 +1224,6 @@ bool Monster::getNextStep(Direction& direction, uint32_t& flags)
egibleToDance = false;
earliestWakeUpTime = OTSYS_TIME() + 1000;
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
earliestAttackTime += 200;
}
}
}
@ -1266,7 +1265,6 @@ bool Monster::getNextStep(Direction& direction, uint32_t& flags)
egibleToDance = false;
earliestWakeUpTime = OTSYS_TIME() + 1000;
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
earliestAttackTime += 200;
}
}
}