trtinh to fix bbrokenness on android
This commit is contained in:
parent
c6e85d2d38
commit
a53c12c408
8
cat.html
8
cat.html
|
@ -260,10 +260,8 @@ var image = new Array();
|
|||
var winimg = null;
|
||||
|
||||
|
||||
var nfonts = 0;
|
||||
var nimages = 0;
|
||||
var maximages = 0;
|
||||
var maxfonts = 0;
|
||||
|
||||
function loadimage(name, filename) {
|
||||
image[name] = new Image();
|
||||
|
@ -952,7 +950,7 @@ var game = {
|
|||
curw: null,
|
||||
curh: null,
|
||||
levels: null,
|
||||
state: "loader",
|
||||
state: "",
|
||||
cheat: 0,
|
||||
winimgsize: 0,
|
||||
frameNo: 0,
|
||||
|
@ -1065,7 +1063,7 @@ var game = {
|
|||
|
||||
window.addEventListener('keypress', this.handlekeypress, false);
|
||||
|
||||
this.setstate("loader");
|
||||
game.setstate("loader");
|
||||
},
|
||||
|
||||
isbanned : function(lev, what) {
|
||||
|
@ -3506,8 +3504,6 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
|||
imagenames = ['cat', 'catfull', 'catscared', 'llama', 'cheese', 'title',
|
||||
'goat','door','sunlight','lock','catwalkl','catwalkr','starfull','starempty' ];
|
||||
|
||||
nfonts = 0;
|
||||
maxfonts = 0;
|
||||
nimages = 0;
|
||||
maximages = 0;
|
||||
for (i in imagenames) {
|
||||
|
|
Loading…
Reference in New Issue