mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
gpgs_support: fix build
This commit is contained in:
@@ -14,7 +14,7 @@ using gpg::GameServices;
|
||||
typedef void *GameServices;
|
||||
#endif
|
||||
|
||||
GameServices *services = NULL;
|
||||
GameServices *services = nullptr;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@@ -44,12 +44,12 @@ void SetGameServicesPtr( GameServices *ptr )
|
||||
#endif
|
||||
}
|
||||
|
||||
gpg::GameServices *GetGameServicesPtr( void )
|
||||
GameServices *GetGameServicesPtr( void )
|
||||
{
|
||||
#ifdef GOOGLE_PLAY_BUILD
|
||||
return services;
|
||||
#else
|
||||
return NULL;
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user