From f23dbf2575a821374858a6e66f5bc53edcc84620 Mon Sep 17 00:00:00 2001 From: Alejandro Mujica Date: Thu, 7 Feb 2019 23:17:28 -0400 Subject: [PATCH] Remove bad code This was not necessary here, it was left during the tests of monsters cornering using RealOTS code. Issue: #20 --- src/monster.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/monster.cpp b/src/monster.cpp index fdc21a3..01b059e 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -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; } } }