Rename structs to more sane things

This commit is contained in:
2022-11-19 23:13:57 +00:00
parent 3641c246d4
commit 4224594ee4
30 changed files with 216 additions and 201 deletions

View File

@@ -36,8 +36,8 @@ void load_level(char name[MAXNAME])
arraddn(gameobjects, objs);
for (int i = 0; i < objs; i++) {
struct mGameObject *go = &gameobjects[i];
fread(go, sizeof(struct mGameObject), 1, lfile);
struct gameobject *go = &gameobjects[i];
fread(go, sizeof(struct gameobject), 1, lfile);
go->components = NULL;
gameobject_init(go, lfile);
}