diff options
author | Eugene Sandulenko | 2010-10-03 13:25:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-13 00:08:28 +0000 |
commit | 54ccc8f4c906cd4f84c955581c0368886a7a9c78 (patch) | |
tree | 04b7ce0ef984565e4824ad4b73dc32493e65f018 /engines/sword25/sfx/soundengine_script.cpp | |
parent | 1e15d8efb73503d9f613cc60023771b0c11f0dd6 (diff) | |
download | scummvm-rg350-54ccc8f4c906cd4f84c955581c0368886a7a9c78.tar.gz scummvm-rg350-54ccc8f4c906cd4f84c955581c0368886a7a9c78.tar.bz2 scummvm-rg350-54ccc8f4c906cd4f84c955581c0368886a7a9c78.zip |
SWORD25: Enforced code naming conventions in script/*
svn-id: r53391
Diffstat (limited to 'engines/sword25/sfx/soundengine_script.cpp')
-rw-r--r-- | engines/sword25/sfx/soundengine_script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/sfx/soundengine_script.cpp b/engines/sword25/sfx/soundengine_script.cpp index 653c6d96db..2808296799 100644 --- a/engines/sword25/sfx/soundengine_script.cpp +++ b/engines/sword25/sfx/soundengine_script.cpp @@ -353,11 +353,11 @@ bool SoundEngine::registerScriptBindings() { BS_ASSERT(pKernel); ScriptEngine *pScript = static_cast<ScriptEngine *>(pKernel->GetService("script")); BS_ASSERT(pScript); - lua_State *L = static_cast<lua_State *>(pScript->GetScriptObject()); + lua_State *L = static_cast<lua_State *>(pScript->getScriptObject()); BS_ASSERT(L); - if (!LuaBindhelper::AddFunctionsToLib(L, SFX_LIBRARY_NAME, SFX_FUNCTIONS)) return false; - if (!LuaBindhelper::AddConstantsToLib(L, SFX_LIBRARY_NAME, SFX_CONSTANTS)) return false; + if (!LuaBindhelper::addFunctionsToLib(L, SFX_LIBRARY_NAME, SFX_FUNCTIONS)) return false; + if (!LuaBindhelper::addConstantsToLib(L, SFX_LIBRARY_NAME, SFX_CONSTANTS)) return false; return true; } |