Disallow switch fallthrough

This commit is contained in:
Evil Eye 2021-10-03 21:58:10 +02:00
parent 686268b2f9
commit d680aa26e9
3 changed files with 7 additions and 0 deletions

View file

@ -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());