mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-13 09:48:23 +03:00
Free CG in SACT2.SetWP
This commit is contained in:
@@ -128,6 +128,7 @@ int sact_SetWP(int cg_no)
|
||||
|
||||
gfx_delete_texture(&wp.texture);
|
||||
gfx_init_texture_with_cg(&wp.texture, cg);
|
||||
cg_free(cg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user