소스 검색

Merge pull request #918 from Azaezel/alpha402/stopStringSpam

supress Mapping string spam unless net debugging
Brian Roberts 2 년 전
부모
커밋
85a37b6c7a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Engine/source/sim/connectionStringTable.cpp

+ 2 - 0
Engine/source/sim/connectionStringTable.cpp

@@ -62,7 +62,9 @@ public:
    }
    virtual void process(NetConnection *connection)
    {
+#ifdef TORQUE_DEBUG_NET
       Con::printf("Mapping string: %s to index: %d", mString.getString(), mIndex);
+#endif
       connection->mapString(mIndex, mString);
    }
 #ifdef TORQUE_DEBUG_NET