Revamped CNetClient/CNetServer JS Interface and new CGameAttributes

implementation (moving towards a merger of CGameAttribs into CGame).

This was SVN commit r1746.
This commit is contained in:
olsner
2005-01-19 22:32:25 +00:00
parent b391fb89ef
commit ae38aee3d2
24 changed files with 803 additions and 522 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ jsval ScriptingHost::ExecuteScript(const CStrW& script, const CStrW& calledFrom,
JSBool ok = JS_EvaluateUCScript(m_Context, contextObject ? contextObject : m_GlobalObject, script.utf16().c_str(), (int)script.Length(), asciiName, 0, &rval);
delete( asciiName );
delete[]( asciiName );
if (!ok) return JSVAL_NULL;