Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/game/mc2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ char WhichPart(char plr, int which)
Equipment *GetEquipment(const struct MisEval &Mev)
{
Equipment *e = MH[Mev.pad][Mev.Class];

// Some equipment like docking module can be attached to the other pad
if (!e) {
e = MH[other(Mev.pad)][Mev.Class];
}

assert(e == Mev.Ep);
return e;
}
Expand Down