1717// ---------------------------------------------------------------------------------
1818static void printlP2MM (const int level, const bool dev, const char * pMsgFormat)
1919{
20- if (dev && !p2mm_developer.GetBool ()) return ;
20+ if (dev && !p2mm_developer.GetBool ())
21+ return ;
2122
22- va_list argptr ;
23+ va_list argPtr ;
2324 char szFormattedText[1024 ] = { 0 };
24- va_start (argptr , pMsgFormat);
25- V_vsnprintf (szFormattedText, sizeof (szFormattedText), pMsgFormat, argptr );
26- va_end (argptr );
25+ va_start (argPtr , pMsgFormat);
26+ V_vsnprintf (szFormattedText, sizeof (szFormattedText), pMsgFormat, argPtr );
27+ va_end (argPtr );
2728
2829 char completeMsg[1024 ];
2930 V_snprintf (completeMsg, sizeof (completeMsg), " (P2:MM VSCRIPT): %s\n " , szFormattedText);
@@ -69,7 +70,7 @@ static bool IsDedicatedServer()
6970
7071// ---------------------------------------------------------------------------------
7172// Purpose: Initializes, spawns, then activates an entity in the map.
72- // Create a entity using CreateByClassname, then use this function on its handle.
73+ // Create a entity using CreateByClassname in VScript , then use this function on its handle.
7374// Note: Not all entities will work even after being initialized with this function.
7475// ---------------------------------------------------------------------------------
7576static void InitializeEntity (const HSCRIPT ent)
@@ -91,7 +92,8 @@ static void InitializeEntity(const HSCRIPT ent)
9192// ---------------------------------------------------------------------------------
9293static void SendToChat (const int playerIndex, const char * msg)
9394{
94- if (!msg) return ;
95+ if (!msg)
96+ return ;
9597
9698 if (!playerIndex)
9799 {
0 commit comments