Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] __default image has an invalid frame #47

Closed
cocoademon opened this issue Sep 18, 2013 · 1 comment
Closed

[bug] __default image has an invalid frame #47

cocoademon opened this issue Sep 18, 2013 · 1 comment

Comments

@cocoademon
Copy link
Contributor

Sorry to not include a pull request for this, but:

this._images['__default'].frame = new Phaser.Animation.Frame(0, 0, 32, 32, '', '');

leads to an invalid default, as the first argument to Frame() should be an index.

https://github.com/photonstorm/phaser/blob/master/src/loader/Cache.js#L180

@photonstorm
Copy link
Collaborator

Thanks. Also fixed in 1.0.4 - it happened in several places in that file actually, so have fixed across them all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants