mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-12 08:02:25 +00:00
Set -> Get Timer
This commit is contained in:
parent
753f53be1b
commit
a69fbb9e0b
@ -635,7 +635,7 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, int speed, boo
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
tar_vector/=16.0f;
|
tar_vector/=16.0f;
|
||||||
float dur = Timer::SetCurrentTime() - pLastChange;
|
float dur = Timer::GetCurrentTime() - pLastChange;
|
||||||
if(dur < 1.0f) {
|
if(dur < 1.0f) {
|
||||||
dur = 1.0f;
|
dur = 1.0f;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user