mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-16 08:42:23 +00:00
Move some code to unnamed namespace
This commit is contained in:
parent
a1b7c0c3d5
commit
1c0ced15c6
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "luamanagerimp.hpp"
|
#include "luamanagerimp.hpp"
|
||||||
|
|
||||||
namespace MWLua
|
namespace
|
||||||
{
|
{
|
||||||
struct PlaySoundArgs
|
struct PlaySoundArgs
|
||||||
{
|
{
|
||||||
@ -55,7 +55,10 @@ namespace MWLua
|
|||||||
return MWSound::PlayMode::NoEnvNoScaling;
|
return MWSound::PlayMode::NoEnvNoScaling;
|
||||||
return MWSound::PlayMode::NoEnv;
|
return MWSound::PlayMode::NoEnv;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace MWLua
|
||||||
|
{
|
||||||
sol::table initAmbientPackage(const Context& context)
|
sol::table initAmbientPackage(const Context& context)
|
||||||
{
|
{
|
||||||
sol::table api(context.mLua->sol(), sol::create);
|
sol::table api(context.mLua->sol(), sol::create);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user