Errors in sprk.c

  • randalserrano
    4th Jun 2011 Member 0 Permalink
    I have 5 errors in sprk.c and dont know how to fix them. (I am new to this)
    http://pastebin.com/wyqQCUK4
    thanks in advance.
    EDIT
    here is the error list
    http://pastebin.com/CU4LMLBK
  • Neospector
    4th Jun 2011 Member 0 Permalink
    ct==MERC and ct==FLRC should be ct==PT_MERC and ct==PT_FLRC on line 9
    Edit: And in FLRC and MERC's code on line 55 down there should be more spaces.
    else if (ct==PT_FLRC&&parts[i].life<=1&&parts[r>>8].type=PT_MERC)
    Should be:
    else if (ct==PT_FLRC && parts[i].life <= 1 && parts[r>>8].type=PT_MERC)
  • randalserrano
    4th Jun 2011 Member 0 Permalink
    ok. 1 error left. lne 60. something is up with it.
    parts_change_type(i,x,y) (PT_PLSM);
  • me4502
    4th Jun 2011 Member 0 Permalink
    parts_change_type(i,x,y,PT_PLSM);
  • randalserrano
    4th Jun 2011 Member 0 Permalink
    @me4502
    it would be easier if you would go to IRC