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