if (!(entity instanceof Infantry)) {
if (!(entity instanceof Infantry) && (entity.getPosition() != null)) {
    private void redrawAllEntities() {        Vector newSprites = new Vector(game.getNoOfEntities());        Hashtable newSpriteIds = new Hashtable(game.getNoOfEntities());        Vector newWrecks = new Vector();        Enumeration e = game.getWreckedEntities();        while (e.hasMoreElements()) {            Entity entity = (Entity) e.nextElement();            if (!(entity instanceof Infantry)) {                WreckSprite ws = new WreckSprite(entity);                newWrecks.addElement(ws);            }        }        clearC3Networks();        for (java.util.Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity entity = (Entity)i.nextElement();            if (entity.getPosition() == null) continue;            EntitySprite sprite = new EntitySprite(entity);            newSprites.add(sprite);            newSpriteIds.put(new Integer(entity.getId()), sprite);            if(entity.hasC3() || entity.hasC3i()) addC3Link(entity);        }        entitySprites = newSprites;        entitySpriteIds = newSpriteIds;        wreckSprites = newWrecks;        repaint(100);    }