Skip to content

Commit 379970b

Browse files
committed
Remove CnCNet 4 availability from TS Client builds.
1 parent 5d02dbf commit 379970b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/vinifera/vinifera_functions.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ bool Vinifera_Startup()
526526
return false;
527527
}
528528

529+
#if !defined(TS_CLIENT)
529530
/**
530531
* Initialise the CnCNet4 system.
531532
*/
@@ -541,6 +542,13 @@ bool Vinifera_Startup()
541542
CnCNet4::Shutdown();
542543
CnCNet4::IsEnabled = false;
543544
}
545+
#else
546+
/**
547+
* Client builds can only use CnCNet5.
548+
*/
549+
CnCNet4::IsEnabled = false;
550+
//CnCNet5::IsActive = true; // Enable when new Client system is implemented.
551+
#endif
544552

545553
return true;
546554
}

0 commit comments

Comments
 (0)