Browse Source

Z991239-5349 #comment fea: UOS sphost add startup param 'entity_id'

chenliangyu 1 year ago
parent
commit
35768bad59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Framework/sphost/sphost.c

+ 1 - 1
Framework/sphost/sphost.c

@@ -434,7 +434,7 @@ int main(int argc, char *argv[])
 	epid = atoi(argv[3]);
 	g_saveFile = atoi((argv[4]));
 	sprintf(epid_str, "%d", epid);
-	setCurEntityIdx(epid);
+	setCurEntityIdx(atoi(argv[5]));
 
 	if (!mod_name || !strlen(mod_name)) {
 		return -300;