aboutsummaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-02-26 22:31:03 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-02-26 22:31:03 -0300
commit1738b5f5c82ec942ab0b1ca176559e071767138b (patch)
treeb1278ee1fb6a61441b97caaaf966e4f3e69d52bf /src/query.cc
parent419e6bf9902851e23b4dfe04918521c9d19be524 (diff)
downloadgame-1738b5f5c82ec942ab0b1ca176559e071767138b.tar.gz
game-1738b5f5c82ec942ab0b1ca176559e071767138b.zip
fix issue with collision events (#54)
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.cc b/src/query.cc
index 57665fe..76b31fd 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -165,7 +165,7 @@ int TQueryManagerConnection::read(uint8 *Buffer, int Size, int Timeout){
int64 Deadline = GetClockMonotonicMS() + TimeoutMS;
while(true){
struct pollfd pollfd = {};
- pollfd.fd = Socket;
+ pollfd.fd = this->Socket;
pollfd.events = POLLIN;
pollfd.revents = 0;
int ret = poll(&pollfd, 1, TimeoutMS);