This commit is contained in:
2022-08-17 05:01:51 +00:00
parent 7aef7afc90
commit 5823947fb4
8 changed files with 58 additions and 61 deletions

View File

@@ -40,7 +40,7 @@ struct mSprite *MakeSprite(struct mGameObject *go)
sprite->pos[1] = 0.f;
sprite->size[0] = 1.f;
sprite->size[1] = 1.f;
sprite->tex = NULL;
sprite->tex = texture_loadfromfile("ph.png");
sprite_init(sprite, go);
sprite->index = sprites.last;
return sprite;