From 77347682db0299be97b3b12e4d24d9571497a5e4 Mon Sep 17 00:00:00 2001 From: zuu Date: Fri, 21 Sep 2012 21:00:32 +0000 Subject: (svn r24543) -Fix-ish (r24542): Removed unnecessary preprocessor directive --- src/script/api/script_controller.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/script') diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp index 53ada04a6..e344f6edd 100644 --- a/src/script/api/script_controller.cpp +++ b/src/script/api/script_controller.cpp @@ -46,10 +46,7 @@ /* static */ bool ScriptController::Break(const char* message) { -#ifdef ENABLE_NETWORK - if (!_network_dedicated) return false; -#endif - if (!_settings_client.gui.ai_developer_tools) return false; + if (!_network_dedicated || !_settings_client.gui.ai_developer_tools) return false; ScriptObject::GetActiveInstance()->Pause(); -- cgit v1.2.3-54-g00ecf