added docs and fixed desc loading from item def
This commit is contained in:
@@ -8,6 +8,7 @@ ItemDef::ItemDef(const std::string& name) : name(name) {
|
||||
}
|
||||
void ItemDef::cloneTo(ItemDef& dst) {
|
||||
dst.caption = caption;
|
||||
dst.description = description;
|
||||
dst.stackSize = stackSize;
|
||||
dst.generated = generated;
|
||||
std::copy(&emission[0], &emission[3], dst.emission);
|
||||
|
||||
Reference in New Issue
Block a user