bugfix: correct full path being sent to Engine constructor

This commit is contained in:
Josh Holtrop 2010-12-19 00:11:38 -05:00
parent bece35d270
commit 0417ec2c29

View File

@ -104,7 +104,7 @@ int main(int argc, char * argv[])
#endif
dInitODE();
g_engine = new Engine(argv[0], av);
g_engine = new Engine(engine_path, av);
if (g_engine->load(program))
g_engine->run();
delete g_engine;