movement sync bug squashed

This commit is contained in:
FatBoy committed 2024-04-23 20:51:22 -05:00
1 parent 882ed17b3a
commit c16ea8f3dd
2 files changed
+2 -67

No files matched your search

+1 -1
View File
@@ -994,7 +994,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
if (this.takeOffTime != 0)
return super.getLoc();
return super.getLoc().moveTowards(this.endLoc, this.getSpeed() * ((System.currentTimeMillis() - lastSetLocUpdate) * .001f));
return super.getLoc().moveTowards(this.endLoc, this.getSpeed() * ((System.currentTimeMillis() - this.lastSetLocUpdate) * .001f));
}