mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-12 14:55:58 +00:00
A couple small fixes thanks to Dan Nelson
This commit is contained in:
parent
029aa2e26a
commit
5d66aa274c
2 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue