- Decal changes as per Xaser's suggestions: Smaller decal for PhoenixFX2,

CrossbowFX2 and MaceFX4 were missing decals, and HornRodFX2 gets a whole
  new decal.
- Fixed: bfgscrc2.png had some holes in the middle that did not look so good.
  (From previously being handled through WinTex, maybe?)


SVN r1325 (trunk)
This commit is contained in:
Randy Heit 2008-12-19 03:57:24 +00:00
commit 835ed26370
5 changed files with 40 additions and 10 deletions

View file

@ -664,7 +664,7 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
break;
case SOURCE_Actor:
assert(actor != NULL);
// assert(actor != NULL);
if (actor != NULL)
{
x = actor->x;
@ -715,14 +715,11 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
if (vel != NULL)
{
// Only actors maintain velocity information.
if (type == SOURCE_Actor)
if (type == SOURCE_Actor && actor != NULL)
{
if (actor != NULL)
{
vel->X = FIXED2FLOAT(actor->momx) * TICRATE;
vel->Y = FIXED2FLOAT(actor->momz) * TICRATE;
vel->Z = FIXED2FLOAT(actor->momy) * TICRATE;
}
vel->X = FIXED2FLOAT(actor->momx) * TICRATE;
vel->Y = FIXED2FLOAT(actor->momz) * TICRATE;
vel->Z = FIXED2FLOAT(actor->momy) * TICRATE;
}
else
{