Skip to content

Commit a1604ad

Browse files
committed
Update SolidWaveTrail.cpp
1 parent 63d2aa0 commit a1604ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Hacks/SolidWaveTrail.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ class $modify (CCDrawNode)
3737
}
3838
}
3939

40-
return CCDrawNode::drawPolygon(verts, count, fillColor, borderWidth, borderColor);
40+
bool v = CCDrawNode::drawPolygon(verts, count, fillColor, borderWidth, borderColor);
41+
42+
if (!v)
43+
return false;
44+
45+
return true;
4146
}
4247
};

0 commit comments

Comments
 (0)