moai/moai-dev — pull request #750 by superquadratic (2013-08-29 09:31:26+00:00)
Title: Fix MOAITimer.EVENT_STOP

The new `MOAINode::EVENT_UPDATE` (enum value 0) collided with `MOAIAction::EVENT_STOP` (also enum value 0) in `MOAITimer`, which is derived from both Node and Action. As a result, `EVENT_STOP` was triggered every frame.

Fixed by starting `MOAIAction` events at `MOAINode::TOTAL_EVENTS`, similar to `MOAITimer` events starting at `MOAIAction::TOTAL_EVENTS`.