We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
CCSprite::spriteWithFile() returns a valid object when the sprite isn't present
CCSprite::spriteWithFile() returns a valid object when the sprite isn't present
Bug #420 [Closed]
- Subject changed from CCSprite::spriteWithFile() has some defects to CCSprite::spriteWithFile() returns a valid object when the sprite isn't present
- Target version changed from 9 to cocos2d-0.99.5-x-0.8.2
Leo Chang fixed this issue at http://www.cocos2d-x.org/boards/7/topics/999?r=1009
- Project changed from cocos2d-x to cpp
- Category deleted (
5) - Target version deleted (
cocos2d-0.99.5-x-0.8.2)
Status: | Closed | |
---|---|---|
Start date: | 2011-03-18 | |
Priority: | Normal | |
Due date: | ||
Assignee: | yangws | |
% Done: | 100% |
|
Category: | - | |
Target version: | - |
When the sprite is not present, it also return a valid object. In this case, it should return a null object. Some other objects may have this defects.