mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 11:30:51 +00:00
tweak previous pull with an assert
This commit is contained in:
parent
d1e5cf4b65
commit
d7dafaea33
1 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
|||
Ernie Wright 17 Sep 00
|
||||
====================================================================== */
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue