Merge pull request #19 from jayands/master

Fix for T2
This commit is contained in:
Zach Bacon 2016-08-09 10:12:13 -04:00 committed by GitHub
commit 1eb768578b
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ src/wx/cmd-evtable.h
src/wx/cmdhandlers.h
src/wx/cmdtab.cpp
src/wx/wxvbam.xrs
build/

View File

@ -7,7 +7,7 @@
GBASockClient::GBASockClient(sf::IpAddress _server_addr)
{
if (_server_addr == sf::IpAddress::None)
server_addr = sf::IpAddress::LocalHost;
server_addr = sf::IpAddress::getPublicAddress();
else
server_addr = _server_addr;

View File

@ -1,6 +1,6 @@
#pragma once
#include <cstdlib>
#include <cstdint>
#include <SFML/Network.hpp>
class GBASockClient {