Skip to content

Commit f4e006e

Browse files
Correct type of extern all_textures.
This was defined as uchar but declared extern int in another file.
1 parent 38cb05a commit f4e006e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/GameSrc/gameobj.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ void show_obj(ObjID cobjid) {
10711071
case FAUBJ_TPOLY:
10721072
switch (ID2TRIP(cobjid)) {
10731073
case TMAP_TRIPLE: {
1074-
extern int all_textures;
1074+
extern uchar all_textures;
10751075
tpdata = get_texture_map(objBigstuffs[_fr_cobj->specID].data2,
10761076
(all_textures) ? TEXTURE_128_INDEX : TEXTURE_64_INDEX);
10771077
scale = -1;

0 commit comments

Comments
 (0)