diff --git a/cocos/base/CCValue.cpp b/cocos/base/CCValue.cpp index 157d9a62bc..80536fdeaa 100644 --- a/cocos/base/CCValue.cpp +++ b/cocos/base/CCValue.cpp @@ -559,7 +559,7 @@ bool Value::asBool() const return _baseData.doubleVal == 0.0 ? false : true; } - return true; + return false; } std::string Value::asString() const