diff --git a/libs/picomodel/lwo/lwob.c b/libs/picomodel/lwo/lwob.c index d9786a86..a8bd25e5 100644 --- a/libs/picomodel/lwo/lwob.c +++ b/libs/picomodel/lwo/lwob.c @@ -8,6 +8,8 @@ Ernie Wright 17 Sep 00 ====================================================================== */ +#include + #include "../picointernal.h" #include "lwo2.h" @@ -391,7 +393,8 @@ lwSurface *lwGetSurface5( picoMemStream_t *fp, int cksize, lwObject *obj ){ else if ( flags & 2 ) { tex->axis = 1; } - else if ( flags & 4 ) { + else { + assert( flags & 4 ); tex->axis = 2; }