Fix gif
This commit is contained in:
parent
c4f65434ed
commit
6b77066d0f
@ -331,7 +331,7 @@ maps.prototype.drawMap = function (mapName, callback) {
|
|||||||
dx*=32; dy*=32;
|
dx*=32; dy*=32;
|
||||||
var image = core.material.images.images[p];
|
var image = core.material.images.images[p];
|
||||||
if (!t[3]) {
|
if (!t[3]) {
|
||||||
if (/.*\.gif/i.test(p)) {
|
if (/.*\.gif/i.test(p) && main.mode=='play') {
|
||||||
core.dom.gif.innerHTML = "";
|
core.dom.gif.innerHTML = "";
|
||||||
var gif = new Image();
|
var gif = new Image();
|
||||||
gif.src = core.material.images.images[p].src;
|
gif.src = core.material.images.images[p].src;
|
||||||
|
|||||||
BIN
project/images/1.gif
Normal file
BIN
project/images/1.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 KiB |
Loading…
Reference in New Issue
Block a user