Index: src/editing.mm ================================================================== --- src/editing.mm +++ src/editing.mm @@ -603,12 +603,14 @@ newent(OFString *what, OFString *a1, OFString *a2, OFString *a3, OFString *a4) { EDITSEL; @autoreleasepool { newentity(sel.x, sel.y, (int)player1->o.z, what, - (int)a1.longLongValue, (int)a2.longLongValue, - (int)a3.longLongValue, (int)a4.longLongValue); + (int)[a1 longLongValueWithBase:0], + (int)[a2 longLongValueWithBase:0], + (int)[a3 longLongValueWithBase:0], + (int)[a4 longLongValueWithBase:0]); } } COMMANDN(select, selectpos, ARG_4INT) COMMAND(edittag, ARG_1INT)