mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-27 23:11:34 +00:00
remove unecassary switch case
This commit is contained in:
parent
19c0cebb27
commit
4d58d4ef85
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue