소스 검색

Removed SCRIPT_CMD_END
Terminate the script when SCRIPT_CMD_FAILURE is returned

Atemo 2 년 전
부모
커밋
b5413b0997
2개의 변경된 파일77개의 추가작업 그리고 142개의 파일을 삭제
  1. 76 140
      src/map/script.cpp
  2. 1 2
      src/map/script.hpp

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 76 - 140
src/map/script.cpp


+ 1 - 2
src/map/script.hpp

@@ -134,8 +134,7 @@
 
 enum script_cmd_result {
 	SCRIPT_CMD_SUCCESS = 0, ///when a buildin cmd was correctly done
-	SCRIPT_CMD_FAILURE = 1, ///when an errors appear in cmd, show_debug will follow
-	SCRIPT_CMD_END = 2, ///when an errors appear in cmd, show_debug will follow and the script state END
+	SCRIPT_CMD_FAILURE = 1, ///when an errors appear in cmd, show_debug will follow and the script terminate
 };
 
 #define SCRIPT_BLOCK_SIZE 512

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.