Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float __cdecl GetTimeBonus_r()
- {
- double result; // st7@3
- if ( GetCurrentCharacterID() == Characters_Gamma )
- {
- if ( TimeMinutes < 3 )
- {
- return (double)(TimeSeconds + 60 * TimeMinutes) * 25.0;
- }
- return 5000.0;
- }
- if ( !TimeMinutes )
- {
- return 10000.0;
- }
- result = 10000.0 - (double)(TimeSeconds + 60 * (TimeMinutes - 1)) * 20.0;
- if ( result < 0.0 )
- {
- result = 0.0;
- }
- return result;
- }
Add Comment
Please, Sign In to add comment