mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix Android main.cpp
This commit is contained in:
@@ -100,12 +100,12 @@ int main(int argc, char *argv[])
|
||||
abort = true;
|
||||
});
|
||||
sceneStack.OnLoadScene([](std::shared_ptr<RuntimeScene> scene) {
|
||||
void * function = NULL;
|
||||
int (*function)(RuntimeContext*) = nullptr;
|
||||
/* GDCPP_EVENTS_ASSIGNMENTS */
|
||||
|
||||
if (function)
|
||||
{
|
||||
scene->GetCodeExecutionEngine()->LoadFunction(&function);
|
||||
scene->GetCodeExecutionEngine()->LoadFunction(function);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user