diff options
| author | Crystalwarrior <varsash@gmail.com> | 2021-01-12 12:02:07 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2021-01-12 12:02:07 +0300 |
| commit | 07993a621b046985ee39ddef1427d8b4cc6042b1 (patch) | |
| tree | c5fb202b31d065518bee00e2edb12f129ec45618 /src/packet_distribution.cpp | |
| parent | f96bd6cc3cb03a22d10ffdaa66d8b794faa3bf18 (diff) | |
Better place to check invalid ID's
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 4aae789e..6865987c 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -583,10 +583,6 @@ void AOApplication::server_packet_received(AOPacket *p_packet) // Timer ID is reserved as argument 0 int id = f_contents.at(0).toInt(); - // ID is invalid - if (id < 0 || id >= w_courtroom->max_clocks) - goto end; - // Type 0 = start/resume/sync timer at time // Type 1 = pause timer at time // Type 2 = show timer |
