Use ubyte* for g3_poly_get_color

This commit is contained in:
Kp 2012-11-24 16:18:52 +00:00
parent be1cab6dd1
commit 66f97d20c7
2 changed files with 2 additions and 3 deletions

View file

@ -307,9 +307,8 @@ void verify(ubyte *data)
}
// check a polymodel for it's color and return it
int g3_poly_get_color(void *model_ptr)
int g3_poly_get_color(ubyte *p)
{
ubyte *p = model_ptr;
int color = 0;
while (w(p) != OP_EOF)

View file

@ -38,7 +38,7 @@ bool g3_draw_morphing_model(void *model_ptr,grs_bitmap **model_bitmaps,vms_angve
void g3_remap_interp_colors(void);
// check a polymodel for it's color and return it
int g3_poly_get_color(void *model_ptr);
int g3_poly_get_color(ubyte *model_ptr);
#ifdef WORDS_BIGENDIAN
// routine to convert little to big endian in polygon model data