Skip to content

Commit

Permalink
Send creature adult size through remotefortressreader.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RosaryMala committed Jun 23, 2016
1 parent 74c9abc commit 036c0f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/proto/RemoteFortressReader.proto
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ message CasteRaw
repeated int32 layer_idx = 12;
repeated BpAppearanceModifier body_appearance_modifiers = 13;
repeated ColorModifierRaw color_modifiers = 14;
optional string description = 15;
optional int32 adult_size = 16;
}

message CreatureRaw
Expand Down Expand Up @@ -612,3 +614,4 @@ message KeyboardEvent
optional uint32 mod = 6;
optional uint32 unicode = 7;
}

3 changes: 3 additions & 0 deletions plugins/remotefortressreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2405,6 +2405,9 @@ static command_result GetCreatureRaws(color_ostream &stream, const EmptyMessage
send_mod->set_part(orig_mod->part);
}
}

send_caste->set_description(orig_caste->description);
send_caste->set_adult_size(orig_caste->misc.adult_size);
}
}

Expand Down

0 comments on commit 036c0f7

Please sign in to comment.