1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00

Fixed garage value found in beta's static analysis

Source: https://forum.openmw.org/viewtopic.php?f=6&t=2059#p23844
This commit is contained in:
Jeffrey Haines 2014-04-19 19:42:49 -04:00
parent 6733a1541e
commit 3484df0743

View File

@ -823,6 +823,8 @@ namespace MWMechanics
alarm = esmStore.get<ESM::GameSetting>().find("iAlarmKilling")->getInt();
else if (type == OT_Theft)
alarm = esmStore.get<ESM::GameSetting>().find("iAlarmStealing")->getInt();
else
return false;
// Innocent until proven guilty
bool reported = false;