diff --git a/qw_client/Makefile.in b/qw_client/Makefile.in index 6511444..338a394 100644 --- a/qw_client/Makefile.in +++ b/qw_client/Makefile.in @@ -327,6 +327,12 @@ $(BUILD_DIR)/$(addsuffix .@OBJEXT@,$(basename @X11_VID_SRC@ .c)):\ $(COMMON_DIR)/@X11_VID_SRC@ $(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $< +$(BUILD_DIR)/in_x11.@OBJEXT@: $(COMMON_DIR)/in_x11.c + $(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $< + +$(BUILD_DIR)/context_x11.@OBJEXT@: $(COMMON_DIR)/context_x11.c + $(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $< + $(X11QUAKE): $(BUILD_DIR)/../$(X11QUAKE) $(BUILD_DIR)/../$(X11QUAKE): $(ALL_X11_OBJS) diff --git a/qw_server/sv_init.c b/qw_server/sv_init.c index ea35257..63ba358 100644 --- a/qw_server/sv_init.c +++ b/qw_server/sv_init.c @@ -276,6 +276,8 @@ unsigned SV_CheckModel(char *mdl) // int len; buf = (byte *)COM_LoadStackFile (mdl, stackbuf, sizeof(stackbuf)); + if (!buf) + SV_Error ("SV_CheckModel: %s not found", mdl); crc = CRC_Block(buf, com_filesize); // for (len = com_filesize; len; len--, buf++) // CRC_ProcessByte(&crc, *buf);