mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +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 {
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user