mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-02 22:03:52 +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 {
|
||||
tar_vector/=16.0f;
|
||||
float dur = Timer::SetCurrentTime() - pLastChange;
|
||||
float dur = Timer::GetCurrentTime() - pLastChange;
|
||||
if(dur < 1.0f) {
|
||||
dur = 1.0f;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user