diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 8c8d06d6..7065623c 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -920,7 +920,7 @@ public class Mob extends AbstractIntelligenceAgent { // Rotate slot position by the building rotation - this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, -building.getBounds().getQuaternion().angleY); + this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, building.getBounds().getQuaternion().angleY); this.loc = new Vector3fImmutable(bindLoc); this.endLoc = new Vector3fImmutable(bindLoc); diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index bb8ffb81..ecb1fb8e 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -364,7 +364,7 @@ public class NPC extends AbstractCharacter { // Rotate slot position by the building rotation - this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, -building.getBounds().getQuaternion().angleY); + this.bindLoc = Vector3fImmutable.rotateAroundPoint(building.getLoc(), this.bindLoc, building.getBounds().getQuaternion().angleY); this.loc = new Vector3fImmutable(bindLoc);