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
+1 -1
View File
@@ -612,7 +612,7 @@ public:
POPUP_OPTION * o; // option that's doing the attaching
POPUP * p; // the popup that's tied to the attachment slot
PopupAttachmentInfo() {};
PopupAttachmentInfo() { usAttachment = 0; pObj = 0; subObject = 0; slotCount = 0; o = NULL; p = NULL; };
PopupAttachmentInfo(INT16 usAttachment, OBJECTTYPE * pObj, UINT8 subObject, INT16 slotCount, POPUP_OPTION * o, POPUP * p) :
usAttachment(usAttachment), pObj(pObj), subObject(subObject), slotCount(slotCount), o(o), p(p) {}
};