Daniele Bartolini 10 yıl önce
ebeveyn
işleme
8c62076271
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      src/device/device.cpp

+ 1 - 2
src/device/device.cpp

@@ -180,8 +180,7 @@ void Device::run()
 	if (_device_options._do_compile)
 	if (_device_options._do_compile)
 	{
 	{
 		_bundle_compiler = CE_NEW(_allocator, BundleCompiler)(_device_options._source_dir, _device_options._bundle_dir);
 		_bundle_compiler = CE_NEW(_allocator, BundleCompiler)(_device_options._source_dir, _device_options._bundle_dir);
-		bool success = _bundle_compiler->compile_all(_device_options._platform);
-		do_continue = success && _device_options._do_continue;
+		do_continue = _bundle_compiler->compile_all(_device_options._platform) && _device_options._do_continue;
 	}
 	}
 #endif // CROWN_PLATFORM_LINUX || CROWN_PLATFORM_WINDOWS
 #endif // CROWN_PLATFORM_LINUX || CROWN_PLATFORM_WINDOWS