@ -269,7 +269,7 @@ command_result df_createplant (color_ostream &out, vector <string> & parameters)
return CR_FAILURE;
}
df::plant *plant = new df::plant;
df::plant *plant = df::allocate<df::plant>();
if (plant_raw->flags.is_set(plant_raw_flags::TREE))
plant->hitpoints = 400000;
else