removeable => removable
Patch By: LudovicRousseau Comments By: vladislav, Nescio Differential Revision: D3663 fixes #6098 This was SVN commit r26533.
This commit is contained in:
parent
aa79122b7f
commit
be2f33b661
@ -67,10 +67,12 @@ const BUILD = "build";
|
||||
EntityLimits.prototype.Init = function()
|
||||
{
|
||||
this.limit = {};
|
||||
this.count = {}; // counts entities which change the limit of the given category
|
||||
// Counts entities which change the limit of the given category.
|
||||
this.count = {};
|
||||
this.changers = {};
|
||||
this.removers = {};
|
||||
this.classCount = {}; // counts entities with the given class, used in the limit removal
|
||||
// Counts entities with the given class, used in the limit removal.
|
||||
this.classCount = {};
|
||||
this.removedLimit = {};
|
||||
this.matchTemplateCount = {};
|
||||
for (var category in this.template.Limits)
|
||||
@ -85,7 +87,8 @@ EntityLimits.prototype.Init = function()
|
||||
}
|
||||
if (category in this.template.LimitRemovers)
|
||||
{
|
||||
this.removedLimit[category] = this.limit[category]; // keep a copy of removeable limits for possible restoration
|
||||
// Keep a copy of removable limits for possible restoration.
|
||||
this.removedLimit[category] = this.limit[category];
|
||||
this.removers[category] = {};
|
||||
for (var c in this.template.LimitRemovers[category])
|
||||
{
|
||||
|
@ -272,7 +272,7 @@ struct Handle
|
||||
#define BaseboardFlags_ENUMERATORS\
|
||||
ENUM(motherboard, 0x01)\
|
||||
ENUM(requires_add_in, 0x02)\
|
||||
ENUM(removeable, 0x04)\
|
||||
ENUM(removable, 0x04)\
|
||||
ENUM(replaceable, 0x08)\
|
||||
ENUM(hot_swappable, 0x10)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user