Breakthrough..I got it working with the following snip:
for(int y = 0; y < eset->misc.net_pc_count; y++){
Entity *nete = new Entity();
nete->stats.animations = "animations/enemies/training_dummy.txt"; nete->loadAnimations(); nete->stats.pos = pc->stats.net_pc[y].pos; nete->stats.direction = pc->stats.net_pc[y].dir; entities.push_back(nete);
}
Breakthrough..I got it working with the following snip:
for(int y = 0; y < eset->misc.net_pc_count; y++){
Entity *nete = new Entity();
nete->stats.animations = "animations/enemies/training_dummy.txt";
nete->loadAnimations();
nete->stats.pos = pc->stats.net_pc[y].pos;
nete->stats.direction = pc->stats.net_pc[y].dir;
entities.push_back(nete);
}