cocos2d/cocos2d-iphone — pull request #881 by Ben-G (2014-07-11 04:36:20+00:00)
Title: CCResponder should only receive touch if user interaction is enabled

With the current implementation touch events caused by an active touch will be forwarded to a `CCResponder` even if the responder sets `userInteractionEnabled` to `NO`.

Can be reproduced with the following sequence:

- Start touch
- Set `userInteractionEnabled`to `NO`
- Move touch

With the current implementation `touchMoved` would be called in the above example.
With the suggested change a touch event will only be forwarded if a node has `userInteractionEnabled` set to `YES`.