mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-30 21:11:00 +00:00
v1.3.03
------- Fixed offroad being applied to almost every sector special. Oops.
This commit is contained in:
parent
e6305ece38
commit
1c62f2ff14
2 changed files with 8 additions and 8 deletions
|
@ -143,16 +143,16 @@ extern FILE *logstream;
|
||||||
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
|
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
#define VERSION 103 // Game version
|
#define VERSION 103 // Game version
|
||||||
#define SUBVERSION 2 // more precise version number
|
#define SUBVERSION 3 // more precise version number
|
||||||
#define VERSIONSTRING "Development EXE"
|
#define VERSIONSTRING "Development EXE"
|
||||||
#define VERSIONSTRINGW "v1.3.02"
|
#define VERSIONSTRINGW "v1.3.03"
|
||||||
// most interface strings are ignored in development mode.
|
// most interface strings are ignored in development mode.
|
||||||
// we use comprevision and compbranch instead.
|
// we use comprevision and compbranch instead.
|
||||||
#else
|
#else
|
||||||
#define VERSION 103 // Game version
|
#define VERSION 103 // Game version
|
||||||
#define SUBVERSION 2 // more precise version number
|
#define SUBVERSION 3 // more precise version number
|
||||||
#define VERSIONSTRING "DevEXE v1.3.02"
|
#define VERSIONSTRING "DevEXE v1.3.03"
|
||||||
#define VERSIONSTRINGW L"v1.3.02"
|
#define VERSIONSTRINGW L"v1.3.03"
|
||||||
// Hey! If you change this, add 1 to the MODVERSION below!
|
// Hey! If you change this, add 1 to the MODVERSION below!
|
||||||
// Otherwise we can't force updates!
|
// Otherwise we can't force updates!
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -916,11 +916,11 @@ static void K_UpdateOffroad(player_t *player)
|
||||||
|
|
||||||
fixed_t offroadstrength = 0;
|
fixed_t offroadstrength = 0;
|
||||||
|
|
||||||
if (nextsector->special & 2) // Weak Offroad
|
if (GETSECSPECIAL(nextsector->special, 1) == 2) // Weak Offroad
|
||||||
offroadstrength = 1;
|
offroadstrength = 1;
|
||||||
else if (nextsector->special & 3) // Mid Offroad
|
else if (GETSECSPECIAL(nextsector->special, 1) == 3) // Mid Offroad
|
||||||
offroadstrength = 2;
|
offroadstrength = 2;
|
||||||
else if (nextsector->special & 4) // Strong Offroad
|
else if (GETSECSPECIAL(nextsector->special, 1) == 4) // Strong Offroad
|
||||||
offroadstrength = 3;
|
offroadstrength = 3;
|
||||||
|
|
||||||
// If you are offroad, a timer starts. Depending on your weight value, the timer increments differently.
|
// If you are offroad, a timer starts. Depending on your weight value, the timer increments differently.
|
||||||
|
|
Loading…
Reference in a new issue