EgtGraphics 2.5e5 :

- migliorato controllo gestione chiave di rete.
This commit is contained in:
DarioS
2023-05-30 10:24:50 +02:00
parent 59ddf02887
commit 30b56dbfc8
5 changed files with 37 additions and 12 deletions
+2 -4
View File
@@ -38,10 +38,8 @@ IEGrScene*
CreateEGrScene( void)
{
// verifico la chiave e le opzioni
if ( ! GetEGrNetHwKey()) {
if ( ! TestKeyForEGr( GetEGrKey(), 0, GetEGrLogger()))
return nullptr ;
}
if ( ! VerifyKey( 0))
return nullptr ;
// creo l'oggetto
return static_cast<IEGrScene*> ( new(nothrow) Scene) ;
}