Merge pull request #654 from HotaruBlaze/fix-rotation-order

Fix (Client): Add Rotation order for onObjectRotate Packet
pull/662/head
David Cernat 1 year ago committed by GitHub
commit 3c9fe54282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -783,7 +783,7 @@ void ObjectList::rotateObjects(MWWorld::CellStore* cellStore)
ptrFound.getCellRef().getRefNum(), ptrFound.getCellRef().getMpNum()); ptrFound.getCellRef().getRefNum(), ptrFound.getCellRef().getMpNum());
MWBase::Environment::get().getWorld()->rotateObject(ptrFound, MWBase::Environment::get().getWorld()->rotateObject(ptrFound,
baseObject.position.rot[0], baseObject.position.rot[1], baseObject.position.rot[2]); baseObject.position.rot[0], baseObject.position.rot[1], baseObject.position.rot[2], MWBase::RotationFlag_none);
} }
} }
} }

Loading…
Cancel
Save