diff options
Diffstat (limited to 'tools/datapacker/main.cpp')
-rw-r--r-- | tools/datapacker/main.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 7e7f7f7..d3908b4 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp | |||
@@ -169,8 +169,8 @@ class DataPacker { | |||
169 | painting.set_display_name(h_painting.display_name()); | 169 | painting.set_display_name(h_painting.display_name()); |
170 | painting.set_orientation(h_painting.orientation()); | 170 | painting.set_orientation(h_painting.orientation()); |
171 | 171 | ||
172 | if (h_painting.has_flipped()) { | 172 | if (h_painting.has_gravity()) { |
173 | painting.set_flipped(h_painting.flipped()); | 173 | painting.set_gravity(h_painting.gravity()); |
174 | } | 174 | } |
175 | 175 | ||
176 | if (h_painting.has_move()) { | 176 | if (h_painting.has_move()) { |
@@ -208,6 +208,10 @@ class DataPacker { | |||
208 | port.set_path(h_port.path()); | 208 | port.set_path(h_port.path()); |
209 | port.set_orientation(h_port.orientation()); | 209 | port.set_orientation(h_port.orientation()); |
210 | 210 | ||
211 | if (h_port.has_gravity()) { | ||
212 | port.set_gravity(h_port.gravity()); | ||
213 | } | ||
214 | |||
211 | if (h_port.has_required_door()) { | 215 | if (h_port.has_required_door()) { |
212 | std::optional<std::string> map_name = | 216 | std::optional<std::string> map_name = |
213 | h_port.required_door().has_map() | 217 | h_port.required_door().has_map() |