fixed an overflow issue in GetBuyableStars
This commit is contained in:
parent
c8989f245e
commit
2aaba8f473
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace TouchyTickets {
|
|||
#if DEBUG
|
||||
return 3;
|
||||
#endif
|
||||
return Math.Min(3, (int) (this.Tickets / this.GetStarPrice()));
|
||||
return (int) BigInteger.Min(3, this.Tickets / this.GetStarPrice());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue