Opened 10 years ago

Last modified 10 years ago

#81 new defect

Check and fix all custom BSL commands

Reported by: Alloc Owned by: Alloc
Priority: minor Component: Daodan/Win
Keywords: Cc:

Description

Especially optional argument handling seems to be broken. numargs always gives the number of expected arguments, left out arguments have to be detected by checking

args[i].type == sl_str32 && strlen(args[i].val.value_str32) == 0

I.e. empty arguments are given as empty strings.

There might also be other errors too.

Change History (1)

comment:1 Changed 10 years ago by Alloc

Hint from Loser:

Majority of them works fine, but some are downright broken (for example "d_location") and some are malfunctioning (for example "d_powerup").

Note: See TracTickets for help on using tickets.