project_files/frontlib/model/gamesetup.c
changeset 7320 e704706008d4
parent 7316 f7b49b2c5d84
child 7482 d70a5b0d1190
--- a/project_files/frontlib/model/gamesetup.c	Thu Jul 05 22:22:48 2012 +0200
+++ b/project_files/frontlib/model/gamesetup.c	Tue Jul 10 19:33:57 2012 +0200
@@ -25,7 +25,7 @@
 void flib_gamesetup_destroy(flib_gamesetup *gamesetup) {
 	if(gamesetup) {
 		free(gamesetup->script);
-		flib_cfg_release(gamesetup->gamescheme);
+		flib_scheme_release(gamesetup->gamescheme);
 		flib_map_release(gamesetup->map);
 		flib_teamlist_destroy(gamesetup->teamlist);
 		free(gamesetup);
@@ -40,7 +40,7 @@
 	flib_gamesetup *result = flib_calloc(1, sizeof(flib_gamesetup));
 	if(result) {
 		result->script = flib_strdupnull(setup->script);
-		result->gamescheme = flib_cfg_copy(setup->gamescheme);
+		result->gamescheme = flib_scheme_copy(setup->gamescheme);
 		result->map = flib_map_copy(setup->map);
 		result->teamlist = flib_teamlist_copy(setup->teamlist);
 		if((setup->script && !result->script)