# Basic in-game building placement with new simulation system

This was SVN commit r7285.
This commit is contained in:
Ykkrosh
2010-01-24 17:24:35 +00:00
parent 0d9c9d646b
commit 953fb41c82
26 changed files with 421 additions and 27 deletions
@@ -108,7 +108,9 @@ template<> jsval ScriptInterface::ToJSVal<CParamNode>(JSContext* cx, CParamNode
// Prevent modifications to the object, so that it's safe to share between
// components and to reconstruct on deserialization
JS_SealObject(cx, obj, JS_TRUE);
//JS_SealObject(cx, obj, JS_TRUE);
// TODO: need to re-enable this when it works safely (e.g. it doesn't seal the
// global object too (via the parent chain))
return OBJECT_TO_JSVAL(obj);
}