Skip to content

Commit

Permalink
初始化vecScale会导致错误的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylvm committed Jan 25, 2019
1 parent 8272ae6 commit 03320ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/script/entity/CMovingEntity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* File Created: 2018-12-19 14:29:07
* Author: Jacky ([email protected]>)
* -----
* Last Modified: 2018-12-21 20:54:29
* Last Modified: 2019-01-25 16:08:40
* Modified By: Jacky ([email protected]>)
* -----
* Copyright 2018 上海火刀石网络科技有限公司
Expand Down Expand Up @@ -34,7 +34,7 @@ cc.Class({
var self = this;

self.initBaseGameEntity(pos, radius);
self.setScaleByVec2(scale)
self.vecScale.set(scale);

self.vecVelocity.set(velocity);
self.vecHeading.set(heading);
Expand Down

0 comments on commit 03320ba

Please sign in to comment.