OSDN Git Service

Merge commit '2859be144ea3737a9f338f1b892fe33fc0b37fe4'
author西田 耀 <hikarupsp@users.sourceforge.jp>
Mon, 2 Sep 2013 07:47:51 +0000 (16:47 +0900)
committer西田 耀 <hikarupsp@users.sourceforge.jp>
Mon, 2 Sep 2013 07:47:51 +0000 (16:47 +0900)
Conflicts:
www/corelib/classes/FireObjectClass.js

1  2 
www/corelib/classes/FireObjectClass.js

@@@ -41,7 -42,11 +42,11 @@@ var FireObjectClass = function(stage, a
                }
                this.movingSpeed.x = fvx;
                this.movingSpeed.y = -this.fireVelocity.y
-               ownerObj.ownerStage.addStageObject(this, true);
+               
+               // 初期位置で壁などに引っかかっていないか確認
+               if(this.canMoveTo(this.origin.x, this.origin.y)){
 -                      ownerObj.ownerStage.addStageObject(this);
++                      ownerObj.ownerStage.addStageObject(this, true);
+               }
                this.livingTick = 0;
        },