Skip to content

Commit

Permalink
Fix broken instance-vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Mar 10, 2018
1 parent 91d2c57 commit a6297f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions df.descriptors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<enum-item name='MOTTLED'/>
</enum-type>

<struct-type type-name='descriptor_color' instance-vector='$global.world.raws.language.colors'>
<struct-type type-name='descriptor_color' instance-vector='$global.world.raws.descriptors.colors'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="word_unk"/>
Expand All @@ -21,7 +21,7 @@
<s-float name="blue"/>
</struct-type>

<struct-type type-name='descriptor_shape' instance-vector='$global.world.raws.language.shapes'>
<struct-type type-name='descriptor_shape' instance-vector='$global.world.raws.descriptors.shapes'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="word_unk"/>
Expand All @@ -39,7 +39,7 @@
<uint8_t name="tile"/>
</struct-type>

<struct-type type-name='descriptor_pattern' instance-vector='$global.world.raws.language.patterns'>
<struct-type type-name='descriptor_pattern' instance-vector='$global.world.raws.descriptors.patterns'>
<stl-string name='id'/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="colors" type-name='int16_t' ref-target='descriptor_color'/>
Expand Down
2 changes: 1 addition & 1 deletion df.reaction-raws.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</enum-type>

<struct-type type-name='reaction'
instance-vector='$global.world.raws.reactions'>
instance-vector='$global.world.raws.reactions.reactions'>
<stl-string name="code"/>
<stl-string name="name"/>

Expand Down

0 comments on commit a6297f1

Please sign in to comment.