From d302be7b4d13fcd51a9572bef02910145410ecf6 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 16 Mar 2024 01:30:44 +0100 Subject: [PATCH] Cleanup/add some comments --- src/engine/shared/datablock.h | 2 +- src/game/shared/vscript_shared.cpp | 2 +- src/tier1/NetKey.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/shared/datablock.h b/src/engine/shared/datablock.h index 1c10a739..14be3b81 100644 --- a/src/engine/shared/datablock.h +++ b/src/engine/shared/datablock.h @@ -9,7 +9,7 @@ // the maximum size of each data block fragment #define MAX_DATABLOCK_FRAGMENT_SIZE 1024 -// the maximum amount of fragments per data block +// the maximum amount of fragments per data block transfer #define MAX_DATABLOCK_FRAGMENTS 768 #define DATABLOCK_DEBUG_NAME_LEN 64 diff --git a/src/game/shared/vscript_shared.cpp b/src/game/shared/vscript_shared.cpp index 33c97e75..646955ba 100644 --- a/src/game/shared/vscript_shared.cpp +++ b/src/game/shared/vscript_shared.cpp @@ -110,7 +110,7 @@ void Script_RegisterCommonAbstractions(CSquirrelVM* s) } //--------------------------------------------------------------------------------- -// Purpose: listen server constants (!!! only call on builds containing a listen server !!!) +// Purpose: listen server constants // Input : *s - //--------------------------------------------------------------------------------- void Script_RegisterListenServerConstants(CSquirrelVM* s) diff --git a/src/tier1/NetKey.cpp b/src/tier1/NetKey.cpp index 38bdf48f..b84f4f3a 100644 --- a/src/tier1/NetKey.cpp +++ b/src/tier1/NetKey.cpp @@ -10,5 +10,6 @@ ////////////////////////////////////////////////////////////////////// const char* CNetKey::GetBase64NetKey(void) const { + // TODO: should we not acquire lock for m_Mutex here? return m_szBase64; }