Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
|
@ -62,7 +62,7 @@ void GodotShape3D::configure(const AABB &p_aabb) {
|
|||
aabb = p_aabb;
|
||||
configured = true;
|
||||
for (const KeyValue<GodotShapeOwner3D *, int> &E : owners) {
|
||||
GodotShapeOwner3D *co = (GodotShapeOwner3D *)E.key;
|
||||
GodotShapeOwner3D *co = const_cast<GodotShapeOwner3D *>(E.key);
|
||||
co->_shape_changed();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue