remove connection code from main
This commit is contained in:
parent
ad10754779
commit
e239b0d611
|
@ -32,8 +32,6 @@
|
||||||
#include <script/luascript.h>
|
#include <script/luascript.h>
|
||||||
#include <ui/uicontainer.h>
|
#include <ui/uicontainer.h>
|
||||||
|
|
||||||
#include "protocollogin.h"
|
|
||||||
|
|
||||||
void signal_handler(int sig)
|
void signal_handler(int sig)
|
||||||
{
|
{
|
||||||
static bool stopping = false;
|
static bool stopping = false;
|
||||||
|
@ -85,9 +83,6 @@ int main(int argc, const char *argv[])
|
||||||
args.push_back(argv[i]);
|
args.push_back(argv[i]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ProtocolLogin login;
|
|
||||||
login.login("tibialua0", "lua123456");
|
|
||||||
|
|
||||||
logInfo("OTClient 0.2.0");
|
logInfo("OTClient 0.2.0");
|
||||||
|
|
||||||
// install exit signal handler
|
// install exit signal handler
|
||||||
|
|
Loading…
Reference in New Issue