Menu

Commit [r462]  Maximize  Restore  History

Added more robustnuess to last update:

for(i=0; i<models_loaded; i++){
if(model_list[i]->type == TYPE_PLAYER){
for(weap=0; weap<MAX_WEAPONS; weap++){
if(strncmp(newchar->name, model_list[i]->weapon[weap], MAX_NAME_LEN) == 0){
players_weapon = 1;
break;
}
}
}
if(players_weapon) break;
}

SumolX 2007-01-14