Merge pull request #1681 from Azaezel/alpha41/coverCorrection
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled

Alpha41/cover correction
This commit is contained in:
Brian Roberts 2026-03-04 10:17:53 -06:00 committed by GitHub
commit 88da6f60f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ public:
{
if (mCover && mCover->mPosSet && mCover->getPosition() == loc)
{
mCover->mRadius == rad;
mCover->mRadius = rad;
return;
}
delete(mCover); mCover = new AICover(this, loc, rad);
@ -83,7 +83,7 @@ public:
{
if (mCover && mCover->mObj == objIn)
{
mCover->mRadius == rad;
mCover->mRadius = rad;
return;
}
delete(mCover); mCover = new AICover(this, objIn, rad);