fix compiler warning, be more legible

This commit is contained in:
Timothee Besset 2017-02-25 15:11:45 -06:00
parent a1284302bb
commit fd3ec15ae4

View file

@ -350,7 +350,7 @@ static picoModel_t *_fm_load( PM_PARAMS_LOAD ){
texCoord->t = _pico_little_short( texCoord[i].t );
}
// set Skin Name
strncpy( skinname, (unsigned char *) fm.fm_skin, FM_SKINPATHSIZE );
strncpy( skinname, fm.fm_skin->path, FM_SKINPATHSIZE );
#ifdef FM_VERBOSE_DBG
// Print out md2 values