project_files/frontlib/net/netprotocol.c
changeset 7497 7e1d72fc03c7
parent 7482 d70a5b0d1190
child 7566 57d343ee382f
--- a/project_files/frontlib/net/netprotocol.c	Sun Aug 12 23:51:36 2012 +0200
+++ b/project_files/frontlib/net/netprotocol.c	Wed Aug 15 23:40:10 2012 +0200
@@ -75,14 +75,14 @@
 	return result;
 }
 
-flib_scheme *flib_scheme_from_netmsg(flib_metascheme *meta, char **parts) {
-	flib_scheme *result = flib_scheme_create(meta, parts[0]);
+flib_scheme *flib_scheme_from_netmsg(char **parts) {
+	flib_scheme *result = flib_scheme_create(parts[0]);
 	if(result) {
-		for(int i=0; i<meta->modCount; i++) {
+		for(int i=0; i<flib_meta.modCount; i++) {
 			result->mods[i] = !strcmp(parts[i+1], "true");
 		}
-		for(int i=0; i<meta->settingCount; i++) {
-			result->settings[i] = atoi(parts[i+meta->modCount+1]);
+		for(int i=0; i<flib_meta.settingCount; i++) {
+			result->settings[i] = atoi(parts[i+flib_meta.modCount+1]);
 		}
 	}
 	return result;