Compiler errors
This commit is contained in:
parent
bd6bc368a3
commit
956d48b5e0
|
@ -10799,7 +10799,7 @@ void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo)
|
||||||
if (extrainfo == 0)
|
if (extrainfo == 0)
|
||||||
// until we can customize flicky colors by level header, just stick to SRB2's defaults
|
// until we can customize flicky colors by level header, just stick to SRB2's defaults
|
||||||
actor->color = flickycolors[P_RandomKey(2)]; //flickycolors[P_RandomKey(sizeof(flickycolors))];
|
actor->color = flickycolors[P_RandomKey(2)]; //flickycolors[P_RandomKey(sizeof(flickycolors))];
|
||||||
else if (extrainfo-1 < sizeof(flickycolors))
|
else if (extrainfo-1 < 15) //sizeof(flickycolors))
|
||||||
actor->color = flickycolors[extrainfo-1];
|
actor->color = flickycolors[extrainfo-1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -311,6 +311,7 @@ void P_NewChaseDir(mobj_t *actor);
|
||||||
boolean P_LookForPlayers(mobj_t *actor, boolean allaround, boolean tracer, fixed_t dist);
|
boolean P_LookForPlayers(mobj_t *actor, boolean allaround, boolean tracer, fixed_t dist);
|
||||||
|
|
||||||
mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz, boolean lookforplayers);
|
mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz, boolean lookforplayers);
|
||||||
|
void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo);
|
||||||
#define P_IsFlickyCenter(type) (type > MT_FLICKY_01 && type < MT_SEED && (type - MT_FLICKY_01) % 2 ? 1 : 0)
|
#define P_IsFlickyCenter(type) (type > MT_FLICKY_01 && type < MT_SEED && (type - MT_FLICKY_01) % 2 ? 1 : 0)
|
||||||
void P_InternalFlickyBubble(mobj_t *actor);
|
void P_InternalFlickyBubble(mobj_t *actor);
|
||||||
void P_InternalFlickyFly(mobj_t *actor, fixed_t flyspeed, fixed_t targetdist, fixed_t chasez);
|
void P_InternalFlickyFly(mobj_t *actor, fixed_t flyspeed, fixed_t targetdist, fixed_t chasez);
|
||||||
|
|
Loading…
Reference in New Issue