mirror of https://github.com/axmolengine/axmol.git
Change Value::asBool() return false by default.
This commit is contained in:
parent
8283ab9435
commit
0699aa94fe
|
@ -559,7 +559,7 @@ bool Value::asBool() const
|
||||||
return _baseData.doubleVal == 0.0 ? false : true;
|
return _baseData.doubleVal == 0.0 ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Value::asString() const
|
std::string Value::asString() const
|
||||||
|
|
Loading…
Reference in New Issue