Command changes and code cleanup

This commit is contained in:
KimLS committed 2017-07-21 20:22:33 -07:00
1 parent ab33148f81
commit bdc90ac3a7
12 files changed
+253 -2482

No files matched your search

+2 -3
View File
@@ -600,9 +600,8 @@ bool Client::Process() {
EQApplicationPacket *app = nullptr;
if (!eqs->CheckState(CLOSING))
{
while (ret && (app = (EQApplicationPacket *)eqs->PopPacket())) {
if (app)
ret = HandlePacket(app);
while (app = eqs->PopPacket()) {
HandlePacket(app);
safe_delete(app);
}
}