Tremulous Forum
Mods => Modding Center => Topic started by: DarkEnix on March 11, 2008, 01:48:20 am
-
what dose it mean by
operands of = have illegal types `pointer to struct gentity_s' and `int'
-
it means you can't assign an int to a gentity_t*
-
an int? , i cant find any int in my cmd though , might it be at other places?
-
ok , u see
my error was in src/game/g_weapon.c:394
under line 394 was
m = fire_grounddrift( ent, muzzle, forward );
before that was
void grounddriftfire( gentity_t *ent )
{
gentity_t *m;
m = fire_grounddrift( ent, muzzle, forward );
-
Make fire_grounddrift return an gentity_t or just remove the
gentity_t *m;
m =
part