diff --git a/cat.html b/cat.html
index 73d3bc8..a610b2d 100644
--- a/cat.html
+++ b/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) {