Don't assume the macro WEAPON_MOUNT_IMD is the same as it is in 3.0.

The 2nd parameter is used in master, but not 3.0.
This was broken in f825a85f5d

Thanks to Berg for the report.
master
buginator 2010-11-14 22:04:26 -05:00
parent 654819950b
commit bc295c0110
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ void destroyFXDroid(DROID *psDroid)
{
// Tell the effect system that it needs to use this player's color for the next effect
SetEffectForPlayer(psDroid->player);
psImd = WEAPON_MOUNT_IMD(psDroid,psDroid->player);
psImd = WEAPON_MOUNT_IMD(psDroid, 0);
}
}
else