Send creature adult size through remotefortressreader.cpp

develop
Japa 2016-06-23 21:26:00 +05:30
parent 74c9abcb47
commit 036c0f787c
2 changed files with 6 additions and 0 deletions

@ -508,6 +508,8 @@ message CasteRaw
repeated int32 layer_idx = 12; repeated int32 layer_idx = 12;
repeated BpAppearanceModifier body_appearance_modifiers = 13; repeated BpAppearanceModifier body_appearance_modifiers = 13;
repeated ColorModifierRaw color_modifiers = 14; repeated ColorModifierRaw color_modifiers = 14;
optional string description = 15;
optional int32 adult_size = 16;
} }
message CreatureRaw message CreatureRaw
@ -612,3 +614,4 @@ message KeyboardEvent
optional uint32 mod = 6; optional uint32 mod = 6;
optional uint32 unicode = 7; optional uint32 unicode = 7;
} }

@ -2405,6 +2405,9 @@ static command_result GetCreatureRaws(color_ostream &stream, const EmptyMessage
send_mod->set_part(orig_mod->part); send_mod->set_part(orig_mod->part);
} }
} }
send_caste->set_description(orig_caste->description);
send_caste->set_adult_size(orig_caste->misc.adult_size);
} }
} }