NO CHEATING!
This commit is contained in:
parent
325c6b60f9
commit
b8899b8f86
@ -59,7 +59,9 @@ void Connection::getPacks(SOCKET sock) {
|
||||
switch (netprot::getType(pck, 1)) {
|
||||
using enum netprot::PACKET_TYPE;
|
||||
case INPUT:
|
||||
if (Deserialize(&in, pck, &bsize)) {
|
||||
if (player->AmIDead())
|
||||
break;
|
||||
else if (Deserialize(&in, pck, &bsize)) {
|
||||
m_input_manifest[in.timestamp] = in;
|
||||
m_input_vector.push_back(in);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user