mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 13:57:59 +03:00
Disallow switch fallthrough
This commit is contained in:
parent
686268b2f9
commit
d680aa26e9
3 changed files with 7 additions and 0 deletions
|
@ -1870,6 +1870,7 @@ namespace CSMWorld
|
|||
content.mWander.mDuration = static_cast<short>(value.toInt());
|
||||
else
|
||||
return; // return without saving
|
||||
break;
|
||||
case 3:
|
||||
if (content.mType == ESM::AI_Wander)
|
||||
content.mWander.mTimeOfDay = static_cast<unsigned char>(value.toInt());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue