PopupAttachmentInfo class: added missing initializations in constructor.

DragSelection class: added missing initialization in constructor.
MERCPROFILEGEAR class: added missing copy constructor.
WORLDITEM class: added missing copy constructor.
BuildString class: added missing assignment operator.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8906 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2020-10-21 06:28:15 +00:00
parent 2c2d8c9276
commit 0d969503c5
7 changed files with 41 additions and 2 deletions
+12
View File
@@ -183,6 +183,18 @@ WORLDITEM& WORLDITEM::operator=(const WORLDITEM& src)
return *this;
}
WORLDITEM::WORLDITEM(const WORLDITEM& src)
{
this->fExists = src.fExists;
this->sGridNo = src.sGridNo;
this->ubLevel = src.ubLevel;
this->usFlags = src.usFlags;
this->bRenderZHeightAboveLevel = src.bRenderZHeightAboveLevel;
this->bVisible = src.bVisible;
this->ubNonExistChance = src.ubNonExistChance;
this->soldierID = src.soldierID;
this->object = src.object;
}
INT32 GetFreeWorldBombIndex( void )
{