From 372bc09773d16733302fb8d0804cbec45c4643cf Mon Sep 17 00:00:00 2001 From: Nomango <569629550@qq.com> Date: Fri, 1 Jun 2018 18:32:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=B7=83=E5=8A=A8=E4=BD=9C=E7=9A=84?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E7=9A=84=E9=BB=98=E8=AE=A4=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=80=BC=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/e2daction.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/e2daction.h b/core/e2daction.h index 8b4bd63c..611126e6 100644 --- a/core/e2daction.h +++ b/core/e2daction.h @@ -187,7 +187,7 @@ public: double duration, /* 持续时长 */ const Vector& vec, /* 跳跃距离 */ double height, /* 跳跃高度 */ - int jumps /* 跳跃次数 */ + int jumps = 1 /* 跳跃次数 */ ); // 获取该动作的拷贝对象 @@ -221,7 +221,7 @@ public: double duration, /* 持续时长 */ const Point& pos, /* 目的坐标 */ double height, /* 跳跃高度 */ - int jumps /* 跳跃次数 */ + int jumps = 1 /* 跳跃次数 */ ); // 获取该动作的拷贝对象