1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Revert "Attempt to fix ios build"

This reverts commit eab8abef67.
This commit is contained in:
nordsoft 2022-11-10 05:14:19 +04:00
parent eab8abef67
commit 16ab5f9e02

View File

@ -51,8 +51,7 @@ int client_main(int argc, char * argv[])
[NSNotificationCenter.defaultCenter removeObserver:startGameObserver];
startGameObserver = nil;
__auto_type args = note.userInfo[@"args"];
int cnt = [[args] count];
int cnt = note.userInfo[@"args"].count;
char * newArgv[cnt];
[args enumerateObjectsUsingBlock:^(NSString * obj, NSUInteger idx, BOOL * stop) {
newArgv[idx] = obj.UTF8String;