summaryrefslogtreecommitdiff
path: root/src/to_clt/obj.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-15 02:22:36 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-15 02:22:36 +0100
commit55875fb4063a64de25ace0b5013a0f19bc86c19a (patch)
tree06727908f089b5f4169df4fe446133f731e9939b /src/to_clt/obj.rs
parent402f7485a5d85b1efc4a76d2c3c80f295e9816a4 (diff)
downloadmt_net-55875fb4063a64de25ace0b5013a0f19bc86c19a.tar.xz
Implement NodeDefs and ItemDefs
Diffstat (limited to 'src/to_clt/obj.rs')
-rw-r--r--src/to_clt/obj.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/to_clt/obj.rs b/src/to_clt/obj.rs
index 9e88fff..1b605cc 100644
--- a/src/to_clt/obj.rs
+++ b/src/to_clt/obj.rs
@@ -16,8 +16,8 @@ pub struct ObjProps {
pub max_hp: u16, // player only
pub collide_with_nodes: bool,
pub weight: f32, // deprecated
- pub collision_box: ([f32; 3], [f32; 3]),
- pub selection_box: ([f32; 3], [f32; 3]),
+ pub collision_box: RangeInclusive<[f32; 3]>,
+ pub selection_box: RangeInclusive<[f32; 3]>,
pub pointable: bool,
pub visual: ObjVisual,
pub visual_size: [f32; 3],