Make use of the new -[OFString intValue]

FossilOrigin-Name: 09eb96f3397daee11cfda5cbbbcc5caa6d3d9fb9ff3eeb07971e8e3773b65dd6
This commit is contained in:
Jonathan Schleifer 2025-03-11 01:20:17 +00:00
parent 5a033ec827
commit f1968ce5af
10 changed files with 35 additions and 36 deletions

View file

@ -605,10 +605,8 @@ 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 longLongValueWithBase:0],
(int)[a2 longLongValueWithBase:0],
(int)[a3 longLongValueWithBase:0],
(int)[a4 longLongValueWithBase:0]);
[a1 intValueWithBase:0], [a2 intValueWithBase:0],
[a3 intValueWithBase:0], [a4 intValueWithBase:0]);
}
}