new menu start
[carveJwlIkooP6JGAAIwe30JlM.git] / network.h
index ffd2dbe3cf4d0d98eb454a9281032e4467ae77b0..3d45ab85e6dce64344fa8094ce464fa2fd936f85 100644 (file)
--- a/network.h
+++ b/network.h
@@ -92,11 +92,12 @@ VG_STATIC void request_auth_ticket(void)
     */
 
    vg_info( "Requesting new authorization ticket\n" );
-   steam_async *call = steam_new_async();
-   call->data = NULL;
+
+   vg_steam_async_call *call = vg_alloc_async_steam_api_call();
+   call->userdata = NULL;
    call->p_handler = on_auth_ticket_recieved;
-   call->id =  SteamAPI_ISteamUser_RequestEncryptedAppTicket( hSteamUser, 
-                                                              NULL, 0 );
+   call->id = 
+      SteamAPI_ISteamUser_RequestEncryptedAppTicket( hSteamUser, NULL, 0 );
 }
 
 VG_STATIC void send_auth_ticket(void)