mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Fixed V570: Variable is assigned to itself
The uninitialized variable 'box' is assigned to itself. Judging from the fact that this is a copy constructor, I think that it is necessary to store in the 'box' the value of 'cv.box'
This commit is contained in:
parent
172391e1d3
commit
b741d9c1c2
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ public:
|
||||||
mData = cv.mData;
|
mData = cv.mData;
|
||||||
mScale = cv.mScale;
|
mScale = cv.mScale;
|
||||||
hullId = cv.hullId;
|
hullId = cv.hullId;
|
||||||
box = box;
|
box = cv.box;
|
||||||
}
|
}
|
||||||
|
|
||||||
void calculateTransform( const MatrixF &worldXfrm );
|
void calculateTransform( const MatrixF &worldXfrm );
|
||||||
|
|
@ -85,4 +85,4 @@ protected:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _FORESTCOLLISION_H_
|
#endif // _FORESTCOLLISION_H_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue