mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Set -> Get Timer
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user