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: | Closed | Status: | Done |
Assigned to: | feb |
Tue 04 Jul 2023 08:06:35 PM UTC, comment #1: |
François Beerten <feb> |
Sat 24 Apr 2010 07:09:44 PM UTC, original submission:
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.
|
Kalle Olavi Niemitalo <kon> |
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
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-07-04 | feb | Open/Closed | Open | Closed | |
Status | None | Done | |||
2010-04-24 | kon | Attached File | - | Added 0001-Refuse-to-define-variables-after-unit-types.patch, #20315 |
Powered by Savane 3.13-758e.
Corresponding source code
Bos Wars only uses predefined variables. DefineVariables() is not needed and has been removed. This also removes the risk of defining any variable after unit type definitions.