fixed mingw libraries static compilation
This commit is contained in:
@@ -101,7 +101,7 @@ void Engine::updateGameObjects(f64 deltaTime){
|
||||
game::GameObject& Engine::createGameObject(){
|
||||
auto pair = gameObjectPool.emplace(game::GameObject(mono.createObject(gameObjectClass)));
|
||||
game::GameObject& obj = pair.second;
|
||||
gameObjectCtor(obj.getObjectHandle().getObject(), obj_id++, pair.first);
|
||||
gameObjectCtor(obj.getObjectHandle().getObject(), ++obj_id, pair.first);
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user