Mario: fix function name

This commit is contained in:
zvon 2021-05-31 17:28:26 +02:00
parent 57a573783d
commit 78c9b9feb0

View File

@ -609,7 +609,7 @@ void placeTool( SDLPP::Scene &scene ) {
// remove mario if exists
removeMario();
global_vars.mario = new_obj;
global_vars.mario_pos = getSelectedObjectPosition();
global_vars.mario_pos = getSelectedObjectIndexes();
new_obj->getCollisions()[0]->setId( EDITOR_CHARACTER_ID );
z_index = scene.getObjects().size() - 1;
// TODO BlockRole::Character