Fixed stupid bug in SkinFile constructor.

This commit is contained in:
hns 2002-10-23 12:00:46 +00:00
parent 7463553a95
commit 2c9e42bcb3

View file

@ -26,7 +26,7 @@ public final class SkinFile implements Updatable {
this.prototype = proto; this.prototype = proto;
this.file = file; this.file = file;
this.name = name; this.name = name;
app = proto.app; this.app = proto.app;
skin = null; skin = null;
} }
@ -37,9 +37,9 @@ public final class SkinFile implements Updatable {
*/ */
public SkinFile (String body, String name, Prototype proto) { public SkinFile (String body, String name, Prototype proto) {
this.prototype = proto; this.prototype = proto;
app = proto.app; this.app = proto.app;
name = name; this.name = name;
file = null; this.file = null;
skin = new Skin (body, app); skin = new Skin (body, app);
} }
@ -51,7 +51,7 @@ public final class SkinFile implements Updatable {
this.app = app; this.app = app;
this.file = file; this.file = file;
this.name = name; this.name = name;
prototype = null; this.prototype = null;
skin = null; skin = null;
} }