v1.1.2
This commit is contained in:
@@ -39,8 +39,19 @@ float ALevelTemplate::StopGame() {
|
||||
}
|
||||
|
||||
int32 ALevelTemplate::GetAwardStars() {
|
||||
if (GameTime < ThreeStarTarget) return 3;
|
||||
if (GameTime < TwoStarTarget) return 2;
|
||||
if (GameTime < OneStarTarget) return 1;
|
||||
return 0;
|
||||
if (GameTime <= ThreeStarTarget)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
else if (GameTime <= TwoStarTarget)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
else if (GameTime <= OneStarTarget)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user