samneirinck/cemono — pull request #4 by nathanpapke (2013-07-04 21:34:24+00:00)
Title: Fix: Wrong object being referenced for function.

I have found that the wrong object is being used to call a function in ActorSystem.cpp on line 106.
(https://github.com/inkdev/CryMono/blob/master/MonoDll/Scriptbinds/ActorSystem.cpp)

The original line looks like this:
g_pScriptSystem->GetIGameFramework()->RegisterFactory(className, (CMonoActor *)0, false, (CMonoActor *)0);

The correction appears that it should be:
gEnv->pGame->GetIGameFramework()->RegisterFactory(className, (CMonoActor *)0, false, (CMonoActor *)0);