Compare commits

..

3 commits

Author SHA1 Message Date
Eidolon
c2c3ae63a7 Merge branch 'wallspike-crash-fix' into 'master'
Add player pointer check in wall spike bounce

Closes #397

See merge request kart-krew-dev/ring-racers!78
2025-10-26 20:59:39 -05:00
Eidolon
721d5630a1 Add player pointer check in wall spike bounce 2025-10-26 20:37:51 -05:00
Eidolon
200e7b4014 Update modversion for RC9/final just in case 2025-10-26 19:48:56 -05:00
2 changed files with 3 additions and 3 deletions

View file

@ -1275,7 +1275,7 @@ boolean K_KartSolidBounce(mobj_t *bounceMobj, mobj_t *solidMobj)
if (solidMobj->type == MT_WALLSPIKE) if (solidMobj->type == MT_WALLSPIKE)
{ {
if (bounceMobj->hitlag) if (bounceMobj->player && bounceMobj->hitlag)
{ {
bounceMobj->player->justbumped = bumptime; bounceMobj->player->justbumped = bumptime;
return false; return false;

View file

@ -4,7 +4,7 @@
// it's only for detection of the version the player is using so the MS can alert them of an update. // it's only for detection of the version the player is using so the MS can alert them of an update.
// Only set it higher, not lower, obviously. // Only set it higher, not lower, obviously.
// Note that we use this to help keep internal testing in check; this is why v2.0 is not version "2". // Note that we use this to help keep internal testing in check; this is why v2.0 is not version "2".
#define MODVERSION 11 #define MODVERSION 12
// Define this as a prerelease version suffix // Define this as a prerelease version suffix
#define BETAVERSION "RC8" #define BETAVERSION "RC9"