mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2558 from Xander84/master
Assert statement modifies 'mType'. [ci skip]
This commit is contained in:
commit
ffd8dad276
|
@ -131,7 +131,7 @@ bool CCBValue::getBoolValue()
|
||||||
|
|
||||||
unsigned char CCBValue::getByteValue()
|
unsigned char CCBValue::getByteValue()
|
||||||
{
|
{
|
||||||
assert(mType = kUnsignedCharValue);
|
assert(mType == kUnsignedCharValue);
|
||||||
|
|
||||||
return (unsigned char)(mValue.nValue);
|
return (unsigned char)(mValue.nValue);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue