Commit:     bc295c0110af059b8a205f1010e605e33c809b51

Trac URL:   
http://developer.wz2100.net/changeset/bc295c0110af059b8a205f1010e605e33c809b51

Author:     buginator <bugina...@gna.org>
Date:       Sun Nov 14 22:04:26 2010 -0500

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 f825a85f5d6a07f2dec44c4b8273688fa8144160

Thanks to Berg for the report.

 src/component.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/component.c b/src/component.c
index 1bcf51a..173e6ed 100644
--- a/src/component.c
+++ b/src/component.c
@@ -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


-------------------------


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to