Cube  Check-in [8edff2c849]

Overview
Comment:Fix ARG_VARI commands
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8edff2c849e83f33504c2d42caabb45b0688bc13f98ca19780729ab3fd36ea8c
User & Date: js on 2025-03-08 12:51:58
Other Links: manifest | tags
Context
2025-03-08
13:12
Pad arguments for commands check-in: 852e3a48c3 user: js tags: trunk
12:51
Fix ARG_VARI commands check-in: 8edff2c849 user: js tags: trunk
10:12
Fix crash check-in: b5a250176b user: js tags: trunk
Changes

Modified src/commands.mm from [90cfd3146d] to [80db5d3058].

243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
				        isKindOfClass:[Command class]]) {
					// game defined commands use very
					// ad-hoc function signature, and just
					// call it
					OFArray<OFString *> *arguments =
					    [[OFArray alloc]
					        initWithObjects:w
					                  count:numargs + 1];
					val = [identifier
					    callWithArguments:arguments
					               isDown:isdown];
				} else if ([identifier
				               isKindOfClass:[Variable
				                                 class]]) {
					// game defined variables







|







243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
				        isKindOfClass:[Command class]]) {
					// game defined commands use very
					// ad-hoc function signature, and just
					// call it
					OFArray<OFString *> *arguments =
					    [[OFArray alloc]
					        initWithObjects:w
					                  count:numargs];
					val = [identifier
					    callWithArguments:arguments
					               isDown:isdown];
				} else if ([identifier
				               isKindOfClass:[Variable
				                                 class]]) {
					// game defined variables