فهرست منبع

remove ConsoleServer::update from release build

mikymod 12 سال پیش
والد
کامیت
87ec4e1392
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      engine/Device.cpp

+ 2 - 0
engine/Device.cpp

@@ -390,7 +390,9 @@ void Device::frame()
 	m_last_time = m_current_time;
 	m_last_time = m_current_time;
 	m_time_since_start += m_last_delta_time;
 	m_time_since_start += m_last_delta_time;
 
 
+	#if defined(CROWN_DEBUG) || defined(CROWN_DEVELOPMENT)
 	m_console->update();
 	m_console->update();
+	#endif
 
 
 	if (!m_is_paused)
 	if (!m_is_paused)
 	{
 	{