commit - 182a180c2e150665e19fcc92f123ce5ed17c2409
commit + d272e63dd72fac9a8205b9d7e0edf8c977eae7ce
blob - e7385de709f3c06c7c6064a3fd44b1996a2c5d92
blob + 59330fc4abc031b99ecd95e175064d740fabd755
--- src/procedures.c
+++ src/procedures.c
EntityData metadata[] = {
{
- 0, // Index (Entity Bit Mask)
- 0, // Type (Byte)
- entity_bit_mask, // Value
+ 0, // Index (Entity Bit Mask)
+ 0, // Type (Byte)
+ { entity_bit_mask }, // Value
},
{
- 6, // Index (Pose),
- 21, // Type (Pose),
- pose, // Value (Standing)
+ 6, // Index (Pose),
+ 21, // Type (Pose),
+ { pose }, // Value (Standing)
}
};
metadata = malloc(sizeof *metadata);
metadata[0] = (EntityData){
- 17, // Index (Sheep Bit Mask),
- 0, // Type (Byte),
- (uint8_t)0x10, // Value
+ 17, // Index (Sheep Bit Mask),
+ 0, // Type (Byte),
+ { (uint8_t)0x10 }, // Value
};
length = 1;