mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 17:07:17 +00:00
Added throttling to some appearance packets, also removed responding to client light packets. With the new light code we'll tell the client when the light has changed not the other way around.
This commit is contained in:
1 parent
edbd055277
commit
452b1a1eae
4 files changed
+38
-15
No files matched your search
@@ -260,6 +260,13 @@ bool Client::Process() {
|
||||
}
|
||||
}
|
||||
|
||||
if(light_update_timer.Check()) {
|
||||
UpdateEquipLightValue();
|
||||
if(UpdateActiveLightValue()) {
|
||||
SendAppearancePacket(AT_Light, GetActiveLightValue());
|
||||
}
|
||||
}
|
||||
|
||||
bool may_use_attacks = false;
|
||||
/*
|
||||
Things which prevent us from attacking:
|
||||
|
||||
Reference in new issue
Block a user