mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Obj_RainbowDashRingSpawn: Fix copypaste error that could have resulted in out-of-bounds access
This commit is contained in:
parent
5ffae81b08
commit
bbe2477331
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ void Obj_RainbowDashRingSpawn(mobj_t *mobj)
|
|||
|
||||
void Obj_DashRingSetup(mobj_t *mobj, mapthing_t *mthing)
|
||||
{
|
||||
static const UINT8 numColors = sizeof(rainbow_colors) / sizeof(skincolornum_t);
|
||||
static const UINT8 numColors = sizeof(ring_colors) / sizeof(skincolornum_t);
|
||||
const UINT8 additionalThrust = mthing->thing_args[1];
|
||||
statenum_t ringState, overlayState;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue