Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

void play_game(void *data)
{
    View *view = static_cast<View *>(data);

    // TODO: find out why this doesn't work
    /*if(view->game.network_client.connected())
        return;*/

    if(!view->game.network_client.connected())
    {
        view->game.Connect();
    }
    else
    {
        View::LoadState::LoginBox(view);
    }
}