v0.9.1: fixed incorrect int arithmetic when artifacts transfer levels
This commit is contained in:
parent
350086c9a4
commit
8f8169c8e7
|
@ -130,7 +130,7 @@ public class Artifact extends KindofMisc {
|
|||
|
||||
//transfers upgrades from another artifact, transfer level will equal the displayed level
|
||||
public void transferUpgrade(int transferLvl) {
|
||||
upgrade(Math.round((float)(transferLvl*levelCap)/10));
|
||||
upgrade(Math.round((transferLvl*levelCap)/10f));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user