Fixed CEL fix inheritance not working properly

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@320 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
Jared Gould 2006-11-01 22:26:13 +00:00
parent 686b3490f3
commit b232f65861
1 changed files with 4 additions and 2 deletions

View File

@ -21,8 +21,10 @@ public class TableSwitch extends Table {
}
public void setDataSize(int size) {
on = new byte[size];
off = new byte[size];
if (on.length == 0) {
on = new byte[size];
off = new byte[size];
}
}
public void populateTable(byte[] input) {