1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

Camera zoom fix

This commit is contained in:
scrawl 2015-05-28 03:47:53 +02:00
parent 8b3054aa8b
commit 5628a2b823

View file

@ -319,9 +319,9 @@ namespace MWRender
if (dist >= mFurthest) {
dist = mFurthest;
} else if (!override && dist < 10.f) {
dist = -10.f;
dist = 10.f;
} else if (override && dist <= mNearest) {
dist = -mNearest;
dist = mNearest;
mIsNearest = true;
}
mCameraDistance = dist;