Changeset 8471a7fd3eda72a9e55246f1921f8f9928450c8d

Show
Ignore:
Timestamp:
01/14/07 13:15:19 (2 years ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1168776919 +0100
git-parent:

[06cf3906ea877c8c463867c7197d617c40498661]

git-author:
Christopher Jung <bktheg@web.de> 1168776919 +0100
Message:

Ein paar getShipType(...)-Aufrufe gefixt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/modules/MapDataController.java

    rf3b5be0 r8471a7f  
    172172         
    173173        private void echoSectorShipData( SQLResultRow aship, String relation ) throws UnsupportedEncodingException { 
    174                 SQLResultRow stype = Ships.getShipType(aship, true); 
     174                SQLResultRow stype = Ships.getShipType(aship); 
    175175                 
    176176                StringBuffer echo = getContext().getResponse().getContent(); 
  • src/net/driftingsouls/ds2/server/modules/ks/KSAttackAction.java

    reb54daa r8471a7f  
    918918                battle.logenemy("\n"+aeShip.getString("name")+" ("+aeShip.getInt("id")+"):\n"); 
    919919                                         
    920                 SQLResultRow aeShipType = Ships.getShipType(aeShip, true); 
     920                SQLResultRow aeShipType = Ships.getShipType(aeShip); 
    921921                 
    922922                int[] tmpsubdmgs = null; 
     
    11221122                                } 
    11231123                 
    1124                                 SQLResultRow enemyShipType = Ships.getShipType(this.enemyShip, true); 
     1124                                SQLResultRow enemyShipType = Ships.getShipType(this.enemyShip); 
    11251125                                 
    11261126                                /* 
  • src/net/driftingsouls/ds2/server/modules/ks/KSSecondRowAttackAction.java

    r88b8a94 r8471a7f  
    7878                                continue; 
    7979                        } 
    80                         SQLResultRow shiptype = Ships.getShipType(aship, true); 
     80                        SQLResultRow shiptype = Ships.getShipType(aship); 
    8181                         
    8282                        if( shiptype.getInt("class") == ShipClasses.ZERSTOERER.ordinal() ) { 
     
    104104                                continue; 
    105105                        } 
    106                         SQLResultRow shiptype = Ships.getShipType(aship, true); 
     106                        SQLResultRow shiptype = Ships.getShipType(aship); 
    107107                         
    108108                        if( shiptype.getInt("size") > 3 ) { 
  • src/net/driftingsouls/ds2/server/ships/Ships.java

    rda13d7a r8471a7f  
    16631663                                // Kann man durch die Jumpnode (mit Waffen) fliegen 
    16641664                                if( node.getBoolean("wpnblock") && !user.hasFlag(User.FLAG_MILITARY_JUMPS) ) { 
    1665                                         SQLResultRow shiptype = getShipType(aship.getRow(), true); 
     1665                                        SQLResultRow shiptype = getShipType(aship.getRow()); 
    16661666                                         
    16671667                                        //Schiff Ueberprfen