Fix bug: CCControl's touch priority is not set correctly; m_nDefaultTouchPriority is never used;

This commit is contained in:
tianTian 2013-03-23 12:18:00 +08:00
parent 636f07a43f
commit 9144946176
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ bool CCControl::init()
// Set the touch dispatcher priority by default to 1
setDefaultTouchPriority(1);
this->setDefaultTouchPriority(m_nDefaultTouchPriority);
this->setTouchPriority(m_nDefaultTouchPriority);
// Initialise the tables
m_pDispatchTable = new CCDictionary();