Glitch:Wrecks gallery

From Carmageddon Wiki
(Redirected from Wrecks gallery glitch)
Jump to: navigation, search
Glitch
Wrecks gallery
A screenshot of the glitch in action.
Info
A glitch in Carmageddon II
Location Wrecks gallery
Reproducibility Medium
Cause Code
Harmless Yes


C·V·D·E
Icon C3 stupid.png The title of this article or section is conjectural.
This means that it's not an official name.

The wrecks gallery has a small glitch, in that it displays the incorrect mugshot for the selected opponent.

How to[edit]

Select any opponent on the Wrecks gallery by using the left/right red arrows on the top. Then, select another opponent by clicking on them.

Effects[edit]

The mug of the opponent that was previously selected will remain, while the selected opponent changes.

Explanation[edit]

This is likely a programming oversight. When the player changes the current vehicle by pressing either arrow, the game changes car, description, name and mugshot. When clicking on the opponent however, they forgot the line that changes the mugshot. Something like the following snippet of pseudocode:

arrowChangeCar(newOppo){
  currentOppo.name = newOppo.name
  currentOppo.desc = newOppo.desc
  currentOppo.mug = newOppo.mug
}

clickChangeCar(newOppo){
  currentOppo.name = newOppo.name
  currentOppo.desc = newOppo.desc
}

See also[edit]