Bos Wars - Patches: patch #7173, Refuse to define variables after...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7173: Refuse to define variables after unit types
Submitter: | Kalle Olavi Niemitalo <kon> | ||
Submitted: | Sat 24 Apr 2010 07:09:44 PM UTC | ||
Open/Closed: | Open | Status: | None |
Assigned to: | feb |
Attached Files
file #20315: 0001-Refuse-to-define-variables-after-unit-types.patch added by kon (1KiB - text/x-patch)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-04-24 | kon | Attached File | - | ![]() |
Added 0001-Refuse-to-define-variables-after-unit-types.patch, #20315 |
Raise an error if a Lua script attempts to define variables when some unit types already exist. Supporting such extra variables would require allocating memory for them in all the unit types and units, and that has not been implemented.
This is one of the error checks first proposed in the rejected patch #7116. The other one (refusing to define unit types after units) does not make sense without the rest of the patch.
This patch is for branches/boswars-2.6 r9762.