瀏覽代碼

Corrected a compile error
* Follow up to 900548f.

aleos89 8 年之前
父節點
當前提交
a3282c1730
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/script.c

+ 1 - 1
src/map/script.c

@@ -6714,7 +6714,7 @@ static int script_getitem_randomoption(struct script_state *st, struct item *it,
 		return SCRIPT_CMD_FAILURE;
 	}
 	if (opt_param_n < 1) {
-		ShowError("buildin_%s: No option parameter listed.\n";, funcname);
+		ShowError("buildin_%s: No option parameter listed.\n", funcname);
 		return SCRIPT_CMD_FAILURE;
 	}