Added a check to make sure playerview is allowed when attempting to scroll, locking out zooming before character creation.
actorid
Xethik 11 years ago
parent d5ef843f56
commit 58bb0b8773

@ -585,7 +585,7 @@ namespace MWInput
mPlayer->pitch(-y/scale);
}
if (arg.zrel)
if (arg.zrel && mControlSwitch["playerviewswitch"]) //Check to make sure you are allowed to zoomout and there is a change
{
MWBase::Environment::get().getWorld()->changeVanityModeScale(arg.zrel);
MWBase::Environment::get().getWorld()->setCameraDistance(arg.zrel, true, true);

Loading…
Cancel
Save