mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Item roulette code proves once again to be one of the most fragile pieces of code I've seen
I assume we just need to move these other places to match the super ring ID moving.
This commit is contained in:
parent
8c79e57f89
commit
60d2b6e37d
1 changed files with 4 additions and 4 deletions
|
|
@ -507,7 +507,6 @@ UINT8 K_GetKartColorByName(const char *name)
|
||||||
|
|
||||||
void K_RegisterKartStuff(void)
|
void K_RegisterKartStuff(void)
|
||||||
{
|
{
|
||||||
CV_RegisterVar(&cv_superring);
|
|
||||||
CV_RegisterVar(&cv_sneaker);
|
CV_RegisterVar(&cv_sneaker);
|
||||||
CV_RegisterVar(&cv_rocketsneaker);
|
CV_RegisterVar(&cv_rocketsneaker);
|
||||||
CV_RegisterVar(&cv_invincibility);
|
CV_RegisterVar(&cv_invincibility);
|
||||||
|
|
@ -523,6 +522,7 @@ void K_RegisterKartStuff(void)
|
||||||
CV_RegisterVar(&cv_thundershield);
|
CV_RegisterVar(&cv_thundershield);
|
||||||
CV_RegisterVar(&cv_hyudoro);
|
CV_RegisterVar(&cv_hyudoro);
|
||||||
CV_RegisterVar(&cv_pogospring);
|
CV_RegisterVar(&cv_pogospring);
|
||||||
|
CV_RegisterVar(&cv_superring);
|
||||||
CV_RegisterVar(&cv_kitchensink);
|
CV_RegisterVar(&cv_kitchensink);
|
||||||
|
|
||||||
CV_RegisterVar(&cv_triplesneaker);
|
CV_RegisterVar(&cv_triplesneaker);
|
||||||
|
|
@ -734,7 +734,6 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed, boolean sp
|
||||||
SINT8 first = -1, second = -1;
|
SINT8 first = -1, second = -1;
|
||||||
INT32 secondist = 0;
|
INT32 secondist = 0;
|
||||||
boolean itemenabled[NUMKARTRESULTS-1] = {
|
boolean itemenabled[NUMKARTRESULTS-1] = {
|
||||||
cv_superring.value,
|
|
||||||
cv_sneaker.value,
|
cv_sneaker.value,
|
||||||
cv_rocketsneaker.value,
|
cv_rocketsneaker.value,
|
||||||
cv_invincibility.value,
|
cv_invincibility.value,
|
||||||
|
|
@ -750,6 +749,7 @@ static INT32 K_KartGetItemOdds(UINT8 pos, SINT8 item, fixed_t mashed, boolean sp
|
||||||
cv_thundershield.value,
|
cv_thundershield.value,
|
||||||
cv_hyudoro.value,
|
cv_hyudoro.value,
|
||||||
cv_pogospring.value,
|
cv_pogospring.value,
|
||||||
|
cv_superring.value,
|
||||||
cv_kitchensink.value,
|
cv_kitchensink.value,
|
||||||
cv_triplesneaker.value,
|
cv_triplesneaker.value,
|
||||||
cv_triplebanana.value,
|
cv_triplebanana.value,
|
||||||
|
|
@ -8930,7 +8930,6 @@ static void K_drawDistributionDebugger(void)
|
||||||
{
|
{
|
||||||
patch_t *items[NUMKARTRESULTS] = {
|
patch_t *items[NUMKARTRESULTS] = {
|
||||||
kp_sadface[1],
|
kp_sadface[1],
|
||||||
kp_superring[1],
|
|
||||||
kp_sneaker[1],
|
kp_sneaker[1],
|
||||||
kp_rocketsneaker[1],
|
kp_rocketsneaker[1],
|
||||||
kp_invincibility[7],
|
kp_invincibility[7],
|
||||||
|
|
@ -8946,6 +8945,7 @@ static void K_drawDistributionDebugger(void)
|
||||||
kp_thundershield[1],
|
kp_thundershield[1],
|
||||||
kp_hyudoro[1],
|
kp_hyudoro[1],
|
||||||
kp_pogospring[1],
|
kp_pogospring[1],
|
||||||
|
kp_superring[1],
|
||||||
kp_kitchensink[1],
|
kp_kitchensink[1],
|
||||||
|
|
||||||
kp_sneaker[1],
|
kp_sneaker[1],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue