Cube  Check-in [291f7a7146]

Overview
Comment:Fix newent accepting hex
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 291f7a7146091828a2a1413bf35e62d32a9f1b7ba71ad18442b6cbfbe8476cbb
User & Date: js on 2025-03-07 23:33:23
Other Links: manifest | tags
Context
2025-03-08
00:48
Migrate more strings check-in: fa4b03aaca user: js tags: trunk
2025-03-07
23:33
Fix newent accepting hex check-in: 291f7a7146 user: js tags: trunk
23:29
Clean up argument passing of commands check-in: 22520cd0d9 user: js tags: trunk
Changes

Modified src/editing.mm from [c8df421539] to [e060139dd3].

601
602
603
604
605
606
607
608
609




610
611
612
613
614
615
616
601
602
603
604
605
606
607


608
609
610
611
612
613
614
615
616
617
618







-
-
+
+
+
+








void
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)
COMMAND(replace, ARG_NONE)
COMMAND(archvertex, ARG_3INT)