Quoted By: >>41924051
Halp a nub.
Why does gcc kick my teeth in when I try to store entity_name?
struct entity_data
{
string entity_name;
float entity_px; //position
float entity_py;
float entity_pz;
float entity_rx; //rotation
float entity_ry;
float entity_rz;
};
//Later, in muh code:
entity_data e_cop;
e_cop.entity_name = Cop;
e_cop.entity_px = 0.0; //whatever this is
e_cop.entity_py = 0.0; //just a demo
e_cop.entity_pz = 0.0;
e_cop.entity_rx = 0.0;
e_cop.entity_ry = 0.0;
e_cop.entity_rz = 0.0;
Why does gcc kick my teeth in when I try to store entity_name?