解决逃跑时状态没保存的bug

This commit is contained in:
ozg
2014-05-02 12:26:48 +08:00
parent 210855a973
commit eec41a022b
5 changed files with 31 additions and 37 deletions
+1 -1
View File
@@ -617,7 +617,7 @@ void RPGMapSceneLayer::playerMoveEnd()
{
float val = CCRANDOM_0_1();
val = CCRANDOM_0_1();
if(val >= 0.0 && val <= 0.01)
if(val >= 0.0 && val <= 0.025)
{
// CCLog("遇敌!");
CCDirector::sharedDirector()->getTouchDispatcher()->removeDelegate(this);