mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 14:24:43 +00:00
Cache message JS conversions, to make broadcasts faster
This was SVN commit r8120.
This commit is contained in:
@@ -52,5 +52,9 @@ jsval CScriptValRooted::get() const
|
||||
bool CScriptValRooted::undefined() const
|
||||
{
|
||||
return (!m_Val || *m_Val == JSVAL_VOID);
|
||||
|
||||
}
|
||||
|
||||
bool CScriptValRooted::uninitialised() const
|
||||
{
|
||||
return !m_Val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user