mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 18:19:20 +02:00
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:
parent
000460265c
commit
f23dbf2575
@ -1224,7 +1224,6 @@ bool Monster::getNextStep(Direction& direction, uint32_t& flags)
|
|||||||
egibleToDance = false;
|
egibleToDance = false;
|
||||||
earliestWakeUpTime = OTSYS_TIME() + 1000;
|
earliestWakeUpTime = OTSYS_TIME() + 1000;
|
||||||
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
|
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
|
||||||
earliestAttackTime += 200;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1266,7 +1265,6 @@ bool Monster::getNextStep(Direction& direction, uint32_t& flags)
|
|||||||
egibleToDance = false;
|
egibleToDance = false;
|
||||||
earliestWakeUpTime = OTSYS_TIME() + 1000;
|
earliestWakeUpTime = OTSYS_TIME() + 1000;
|
||||||
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
|
earliestDanceTime = OTSYS_TIME() + 1000 + getStepDuration();
|
||||||
earliestAttackTime += 200;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user