trtinh to fix bbrokenness on android

This commit is contained in:
Rob Pearce 2016-08-27 06:44:24 +00:00
parent c6e85d2d38
commit a53c12c408
1 changed files with 2 additions and 6 deletions

View File

@ -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) {