[EMAIL PROTECTED] schreef:
> Who made the changes in this part/file ?
> It crashes when you load a level now :(
>
> ==================
> //if (psStats->numWeaps == 0 && psStats->pSensor != NULL)
> if (psStats->psWeapStat == NULL && psStats->pSensor != NULL)
> {
> mask = SCR_ST_SENSOR;
> }
> //else if (psStats->numWeaps > 0)
> else if (psStats->psWeapStat != NULL)
> {
> //psWStats = psStats->asWeapList[0];
> psWStats = psStats->psWeapStat[0];
> if (!proj_Direct(psWStats))
> ** crash here psWstats = undefined.
> --------------
> + psStats->psWeapStat[0] 0x00000000 {ref=??? pName=???
> techLevel=??? ...} _weapon_stats *
> ---------
> + psStats->psWeapStat 0x086480c4 _weapon_stats * [4]
> ----------
> + psStats 0x08648068 {ref=852072 pName=0x0859c7e4 "Sys-
> SensoTower02" type=6 ...} _structure_stats *
>
`svn blame' is your friend for what you're trying to do here.just hit `svn blame http://svn.gna.org/svn/warzone/trunk/src/scriptai.c' on you console and you should see who and when the current line is changed. As for that ^^ I'm not sure what line numbers you are referring to, so I took a guess: 916-926 of r714. Listed below: > line rev date > author content > > 916 4 19-11-2005 20:12:57 > per if (psStats->psWeapStat == NULL > && psStats->pSensor != NULL) > 917 4 19-11-2005 20:12:57 > per { > 918 4 19-11-2005 20:12:57 > per mask = SCR_ST_SENSOR; > 919 4 19-11-2005 20:12:57 > per } > 920 4 19-11-2005 20:12:57 > per //else if (psStats->numWeaps > 0) > 921 4 19-11-2005 20:12:57 > per else if (psStats->psWeapStat != > NULL) > 922 4 19-11-2005 20:12:57 > per { > 923 4 19-11-2005 20:12:57 > per //psWStats = > psStats->asWeapList[0]; > 924 499 25-11-2006 18:38:27 > troman psWStats = > psStats->psWeapStat[0]; > 925 4 19-11-2005 20:12:57 > per if (!proj_Direct(psWStats)) > 926 4 19-11-2005 20:12:57 > per { -- Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
