News:

Come Chat with us live! Learn how HERE!

Main Menu

some error

Started by DarkEnix, March 11, 2008, 12:48:20 AM

DarkEnix

what dose it mean by

operands of = have illegal types `pointer to struct gentity_s' and `int'

kevlarman

it means you can't assign an int to a gentity_t*
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

DarkEnix

an int? , i cant find any int in my cmd though , might it be at other places?

DarkEnix

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 );


Thomsen

Make fire_grounddrift return an gentity_t or just remove the

gentity_t *m;

  m =


part