summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 1d5ab1298..7bfa26c0d 100644
--- a/src/client.h
+++ b/src/client.h
@@ -457,7 +457,7 @@ public:
bool nodedefReceived()
{ return m_nodedef_received; }
bool mediaReceived()
- { return m_media_downloader == NULL; }
+ { return !m_media_downloader; }
u8 getProtoVersion()
{ return m_proto_ver; }