OSDN Git Service

デバッグコード除外。
authorMandhelingFreak <mandheling30-freak@yahoo.co.jp>
Mon, 17 Feb 2014 19:26:12 +0000 (04:26 +0900)
committerMandhelingFreak <mandheling30-freak@yahoo.co.jp>
Mon, 17 Feb 2014 19:26:12 +0000 (04:26 +0900)
GVONavish/GVONavish/GVOGameProcess.cpp

index 36ade6f..faa40b3 100644 (file)
@@ -128,6 +128,7 @@ bool GVOGameProcess::updateState()
        }
 #endif
 
+#ifndef NDEBUG
        if ( s_debugAutoCruiseEnabled ) {
                static bool isRandInitialized = false;
                if ( !isRandInitialized ) {
@@ -186,6 +187,7 @@ bool GVOGameProcess::updateState()
                ::LeaveCriticalSection( &m_lock );
                return true;
        }
+#endif
 
        if ( !m_window ) {
                m_window = ::FindWindow( k_gvoWindowClassName, k_gvoWindowCaption );