mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
from marauder: cover corrections
This commit is contained in:
parent
e5ac88e914
commit
0418aaa9db
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ public:
|
||||||
{
|
{
|
||||||
if (mCover && mCover->mPosSet && mCover->getPosition() == loc)
|
if (mCover && mCover->mPosSet && mCover->getPosition() == loc)
|
||||||
{
|
{
|
||||||
mCover->mRadius == rad;
|
mCover->mRadius = rad;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
delete(mCover); mCover = new AICover(this, loc, rad);
|
delete(mCover); mCover = new AICover(this, loc, rad);
|
||||||
|
|
@ -83,7 +83,7 @@ public:
|
||||||
{
|
{
|
||||||
if (mCover && mCover->mObj == objIn)
|
if (mCover && mCover->mObj == objIn)
|
||||||
{
|
{
|
||||||
mCover->mRadius == rad;
|
mCover->mRadius = rad;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
delete(mCover); mCover = new AICover(this, objIn, rad);
|
delete(mCover); mCover = new AICover(this, objIn, rad);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue