Synchronize with df-structures

develop
Quietust 2012-02-08 22:35:22 -06:00
parent 0d11d1b79c
commit 952f621ee2
2 changed files with 4 additions and 4 deletions

@ -49,8 +49,8 @@ struct t_engraving {
df::coord pos; df::coord pos;
df::engraving_flags flags; df::engraving_flags flags;
int8_t tile; int8_t tile;
int32_t type; int32_t art_id;
int16_t subtype; int16_t art_subid;
df::item_quality quality; df::item_quality quality;
// Pointer to original object, in case you want to modify it // Pointer to original object, in case you want to modify it
df::engraving *origin; df::engraving *origin;

@ -72,8 +72,8 @@ bool Engravings::copyEngraving(const int32_t index, t_engraving &out)
out.pos = out.origin->pos; out.pos = out.origin->pos;
out.flags = out.origin->flags; out.flags = out.origin->flags;
out.tile = out.origin->tile; out.tile = out.origin->tile;
out.type = out.origin->type; out.art_id = out.origin->art_id;
out.subtype = out.origin->subtype; out.art_subid = out.origin->art_subid;
out.quality = out.origin->quality; out.quality = out.origin->quality;
return true; return true;
} }