Add a default to the switch

This commit is contained in:
duncanspumpkin 2019-03-16 07:15:12 +00:00
parent 9a1532ecc4
commit 78ede8758b
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ public:
gSamePriceThroughoutParkB = _value;
window_invalidate_by_class(WC_RIDE);
break;
default:
return MakeResult(GA_ERROR::INVALID_PARAMETERS, STR_NONE);
break;
}
auto res = MakeResult();