void drawShots() { int i; Shot *st; if ( mode != IKA_MODE && mode != GW_MODE ) return; for ( i=0 ; i<SHOT_MAX ; i++ ) { if ( shot[i].cnt < 0 ) continue; st = &(shot[i]); drawShot(st->x, st->y, st->d, st->color, st->width, st->height); } }
void drawShots() { int i; Shot *st; if ( mode != IKA_MODE && mode != GW_MODE ) return; for ( i=0 ; i<SHOT_MAX ; i++ ) { //if ( shot[i].cnt < 0 ) continue; //Changed by Albert because of weird crashes. if ( shot[i].cnt >= 0 ) { st = &(shot[i]); drawShot(st->x, st->y, st->d, st->color, st->width, st->height); } } }