|
|
@ -65,6 +65,7 @@
|
|
|
|
#include "df/item_gemst.h"
|
|
|
|
#include "df/item_gemst.h"
|
|
|
|
#include "df/item_threadst.h"
|
|
|
|
#include "df/item_threadst.h"
|
|
|
|
#include "df/item_toolst.h"
|
|
|
|
#include "df/item_toolst.h"
|
|
|
|
|
|
|
|
#include "df/item_smallgemst.h"
|
|
|
|
#include "df/itemimprovement.h"
|
|
|
|
#include "df/itemimprovement.h"
|
|
|
|
#include "df/itemimprovement_threadst.h"
|
|
|
|
#include "df/itemimprovement_threadst.h"
|
|
|
|
#include "df/itemdef.h"
|
|
|
|
#include "df/itemdef.h"
|
|
|
@ -1430,6 +1431,11 @@ void CopyItem(RemoteFortressReader::Item * NetItem, df::item * DfItem)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
NetItem->set_shape(gem_item->shape);
|
|
|
|
NetItem->set_shape(gem_item->shape);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
VIRTUAL_CAST_VAR(smallgem_item, df::item_smallgemst, DfItem);
|
|
|
|
|
|
|
|
if (smallgem_item)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
NetItem->set_shape(smallgem_item->shape);
|
|
|
|
|
|
|
|
}
|
|
|
|
VIRTUAL_CAST_VAR(constructed_item, df::item_constructed, DfItem);
|
|
|
|
VIRTUAL_CAST_VAR(constructed_item, df::item_constructed, DfItem);
|
|
|
|
if (constructed_item)
|
|
|
|
if (constructed_item)
|
|
|
|
{
|
|
|
|
{
|
|
|
|