From ea02f3cd44b426c4ba88b663994a5387c366864b Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 15 Nov 2011 17:36:55 +0900 Subject: [PATCH] Fix a missed byteswap when loading qfo files. --- tools/qfcc/source/obj_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/obj_file.c b/tools/qfcc/source/obj_file.c index 67fdfee27..cecb75458 100644 --- a/tools/qfcc/source/obj_file.c +++ b/tools/qfcc/source/obj_file.c @@ -555,6 +555,7 @@ qfo_read (QFile *file) qfo->funcs[i].code = LittleLong (qfo->funcs[i].code); qfo->funcs[i].def = LittleLong (qfo->funcs[i].def); qfo->funcs[i].locals_space = LittleLong (qfo->funcs[i].locals_space); + qfo->funcs[i].line_info = LittleLong (qfo->funcs[i].line_info); qfo->funcs[i].relocs = LittleLong (qfo->funcs[i].relocs); qfo->funcs[i].num_relocs = LittleLong (qfo->funcs[i].num_relocs); }