mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 02:02:25 +00:00
[Bug Fix] Fix possible issue where variables have the same name. (#2156)
* [Bug Fix] Fix possible issue where variables have the same name. * Naming.
This commit is contained in:
parent
fd7b15abb1
commit
9d784d0d9b
@ -56,8 +56,8 @@ extern SharedTaskManager shared_task_manager;
|
|||||||
|
|
||||||
void CatchSignal(int sig_num);
|
void CatchSignal(int sig_num);
|
||||||
|
|
||||||
ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> connection, EQ::Net::ConsoleServer *console)
|
ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> in_connection, EQ::Net::ConsoleServer *in_console)
|
||||||
: tcpc(connection), zone_boot_timer(5000) {
|
: tcpc(in_connection), zone_boot_timer(5000) {
|
||||||
|
|
||||||
/* Set Process tracking variable defaults */
|
/* Set Process tracking variable defaults */
|
||||||
memset(zone_name, 0, sizeof(zone_name));
|
memset(zone_name, 0, sizeof(zone_name));
|
||||||
@ -84,7 +84,7 @@ ZoneServer::ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> conn
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console = console;
|
console = in_console;
|
||||||
}
|
}
|
||||||
|
|
||||||
ZoneServer::~ZoneServer() {
|
ZoneServer::~ZoneServer() {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ class ServerPacket;
|
|||||||
|
|
||||||
class ZoneServer : public WorldTCPConnection {
|
class ZoneServer : public WorldTCPConnection {
|
||||||
public:
|
public:
|
||||||
ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> connection, EQ::Net::ConsoleServer *console);
|
ZoneServer(std::shared_ptr<EQ::Net::ServertalkServerConnection> in_connection, EQ::Net::ConsoleServer *in_console);
|
||||||
~ZoneServer();
|
~ZoneServer();
|
||||||
virtual inline bool IsZoneServer() { return true; }
|
virtual inline bool IsZoneServer() { return true; }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user