mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15395 from Sai628/v3
Bug fix: CCValue operator overloading of Comparison "==" in case Type::VECTOR
This commit is contained in:
commit
6e7ab0fb46
|
@ -378,9 +378,10 @@ bool Value::operator== (const Value& v) const
|
|||
{
|
||||
if (v1[i] != v2[i]) return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
case Type::MAP:
|
||||
{
|
||||
const auto &map1 = *(this->_field.mapVal);
|
||||
|
|
Loading…
Reference in New Issue