Skip to content

Commit 88da6f6

Browse files
authored
Merge pull request #1681 from Azaezel/alpha41/coverCorrection
Alpha41/cover correction
2 parents c56fcd8 + 0418aaa commit 88da6f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Engine/source/T3D/AI/AIController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class AIController : public SimObject {
7474
{
7575
if (mCover && mCover->mPosSet && mCover->getPosition() == loc)
7676
{
77-
mCover->mRadius == rad;
77+
mCover->mRadius = rad;
7878
return;
7979
}
8080
delete(mCover); mCover = new AICover(this, loc, rad);
@@ -83,7 +83,7 @@ class AIController : public SimObject {
8383
{
8484
if (mCover && mCover->mObj == objIn)
8585
{
86-
mCover->mRadius == rad;
86+
mCover->mRadius = rad;
8787
return;
8888
}
8989
delete(mCover); mCover = new AICover(this, objIn, rad);

0 commit comments

Comments
 (0)