# HG changeset patch # User zuu # Date 2012-09-21 21:00:32 # Node ID b7a833e5c076322eaaa8ef6be3666f9a1611781b # Parent 71aa6b8a5289a9af317c673be7218b461a512b8d (svn r24543) -Fix-ish (r24542): Removed unnecessary preprocessor directive diff --git a/src/script/api/script_controller.cpp b/src/script/api/script_controller.cpp --- 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();