Merge branch 'power-level-tweak' into 'master'

Power level tweak

See merge request KartKrew/Kart!219
This commit is contained in:
Sal 2020-03-25 04:06:30 -04:00
commit dc9ce7bc20
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ INT16 K_CalculatePowerLevelInc(INT16 diff)
diff = -MAXDIFF;
#undef MAXDIFF
x = ((diff-2)<<FRACBITS) / PWRLVRECORD_DEF;
x = ((diff-2)<<FRACBITS) / PWRLVRECORD_START;
for (j = 3; j < 10; j++) // Just skipping to 3 since 0 thru 2 will always just add 0...
{

View file

@ -9,7 +9,7 @@
#define PWRLV_BATTLE 1
#define PWRLV_NUMTYPES 2
#define PWRLVRECORD_START 1000 // 5000?
#define PWRLVRECORD_START 1000
#define PWRLVRECORD_DEF 5000
#define PWRLVRECORD_MIN 1
#define PWRLVRECORD_MAX 9999