Fix newent accepting hex

FossilOrigin-Name: 291f7a7146091828a2a1413bf35e62d32a9f1b7ba71ad18442b6cbfbe8476cbb
This commit is contained in:
Jonathan Schleifer 2025-03-07 23:33:23 +00:00
parent 6ecfc000d1
commit daeb76f126

View file

@ -605,8 +605,10 @@ newent(OFString *what, OFString *a1, OFString *a2, OFString *a3, OFString *a4)
EDITSEL; EDITSEL;
@autoreleasepool { @autoreleasepool {
newentity(sel.x, sel.y, (int)player1->o.z, what, newentity(sel.x, sel.y, (int)player1->o.z, what,
(int)a1.longLongValue, (int)a2.longLongValue, (int)[a1 longLongValueWithBase:0],
(int)a3.longLongValue, (int)a4.longLongValue); (int)[a2 longLongValueWithBase:0],
(int)[a3 longLongValueWithBase:0],
(int)[a4 longLongValueWithBase:0]);
} }
} }