mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 16:42:18 +00:00
Working zone and world communication yay
This commit is contained in:
1 parent
2447c38c82
commit
f6ca59fbc6
20 files changed
+74
-114
No files matched your search
+1
-4
@@ -177,7 +177,6 @@ void Adventure::SetStatus(AdventureStatus new_status)
|
||||
ut->instance_id = instance_id;
|
||||
ut->new_duration = adventure_template->duration + 60;
|
||||
|
||||
pack->Deflate();
|
||||
zoneserver_list.SendPacket(0, instance_id, pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
@@ -192,7 +191,6 @@ void Adventure::SetStatus(AdventureStatus new_status)
|
||||
ut->instance_id = instance_id;
|
||||
ut->new_duration = 1860;
|
||||
|
||||
pack->Deflate();
|
||||
zoneserver_list.SendPacket(0, instance_id, pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
@@ -207,7 +205,6 @@ void Adventure::SetStatus(AdventureStatus new_status)
|
||||
ut->instance_id = instance_id;
|
||||
ut->new_duration = 1860;
|
||||
|
||||
pack->Deflate();
|
||||
zoneserver_list.SendPacket(0, instance_id, pack);
|
||||
safe_delete(pack);
|
||||
}
|
||||
@@ -313,7 +310,7 @@ void Adventure::Finished(AdventureWinStatus ws)
|
||||
af->win = false;
|
||||
af->points = 0;
|
||||
}
|
||||
pack->Deflate();
|
||||
|
||||
zoneserver_list.SendPacket(current->zone(), current->instance(), pack);
|
||||
database.UpdateAdventureStatsEntry(database.GetCharacterID((*iter).c_str()), GetTemplate()->theme, (ws != AWS_Lose) ? true : false);
|
||||
delete pack;
|
||||
|
||||
Reference in new issue
Block a user