You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix typo in shader_language.cpp
This commit is contained in:
@@ -3186,7 +3186,7 @@ bool ShaderLanguage::_check_node_constness(const Node *p_node) const {
|
|||||||
switch (p_node->type) {
|
switch (p_node->type) {
|
||||||
case Node::TYPE_OPERATOR: {
|
case Node::TYPE_OPERATOR: {
|
||||||
OperatorNode *op_node = (OperatorNode *)p_node;
|
OperatorNode *op_node = (OperatorNode *)p_node;
|
||||||
for (int i = (1 ? op_node->op == OP_CALL : 0); i < op_node->arguments.size(); i++) {
|
for (int i = int(op_node->op == OP_CALL); i < op_node->arguments.size(); i++) {
|
||||||
if (!_check_node_constness(op_node->arguments[i])) {
|
if (!_check_node_constness(op_node->arguments[i])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user