Fix various build issuesin uncommon configurations
This commit is contained in:
@@ -93,6 +93,8 @@ ScriptingObject::ScriptingObject(const SpawnParams& params)
|
||||
: _gcHandle((MGCHandle)params.Managed)
|
||||
#elif !COMPILE_WITHOUT_CSHARP
|
||||
: _gcHandle(params.Managed ? MCore::GCHandle::New(params.Managed) : 0)
|
||||
#else
|
||||
: _gcHandle(0)
|
||||
#endif
|
||||
, _type(params.Type)
|
||||
, _id(params.ID)
|
||||
|
||||
Reference in New Issue
Block a user