Skip to content

Commit

Permalink
something fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
briancullinan2 committed Dec 17, 2024
1 parent 0fd1012 commit d81c1e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ WASI_INCLUDES := \
BASE_CFLAGS += -fno-rtti -Wall \
-fstrict-aliasing -fno-inline \
-MMD \
-fPIC \
-DNO_VM_COMPILED=1 -fno-common \
-D_XOPEN_SOURCE=700 -D__EMSCRIPTEN__=1 \
-D__WASM__=1 -D__wasi__=1 -D__wasm32__=1 \
Expand All @@ -439,7 +438,8 @@ LDFLAGS += -Wl,--import-memory,--import-table \
endif


# -Wl,--initial-memory=52428800 \
# -fPIC \
-Wl,--initial-memory=52428800 \
-Wl,--max-memory=1048576000 \
-Wl,--export-table,--growable-table

Expand Down
2 changes: 1 addition & 1 deletion code/renderer/tr_bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ static void R_LoadSubmodels( const lump_t *l, model_t *inModel ) {
model->type = MOD_BRUSH;
model->bmodel = out;
#ifdef USE_BSP_MODELS
Com_sprintf( model->name, sizeof( model->name ), "*%d", model->index - 1 );
Com_sprintf( model->name, sizeof( model->name ), "*%d", model->index + i - 1 );
#else
Com_sprintf( model->name, sizeof( model->name ), "*%d", i );
#endif
Expand Down

0 comments on commit d81c1e8

Please sign in to comment.