Originally Posted By: txesmi
Originally Posted By: Ch40zzC0d3r
memcpy(buff, ent, sizeof(ENTITY))

You can't overwrite its CLINK struct or the bunch of pointers an entity struct contains without getting in troubles.


Good point
Thats why we gotta preserve some values and keep them after loading from the file.
Shouldnt be too much values you have to preserve.

Last edited by Ch40zzC0d3r; 09/24/16 14:53.