mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 20:35:48 -04:00
remove unecassary switch case
This commit is contained in:
parent
19c0cebb27
commit
4d58d4ef85
@ -55,8 +55,6 @@ namespace
|
|||||||
|
|
||||||
switch (key.length())
|
switch (key.length())
|
||||||
{
|
{
|
||||||
case 1:
|
|
||||||
return sol::make_object<float>(lua, components[0]);
|
|
||||||
case 2:
|
case 2:
|
||||||
return sol::make_object<LuaUtil::Vec2>(lua, { components[0], components[1] });
|
return sol::make_object<LuaUtil::Vec2>(lua, { components[0], components[1] });
|
||||||
case 3:
|
case 3:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user