From: Daniel Karbach Date: Fri, 15 Mar 2013 20:40:20 +0000 (+0100) Subject: fix substantial mistake in linker X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=5f9a1893c0db8f53889a390e4c4b95d57abd4384;p=l2e.git fix substantial mistake in linker :o --- diff --git a/src/loader/Compiler.cpp b/src/loader/Compiler.cpp index bb96b28..95d41cc 100644 --- a/src/loader/Compiler.cpp +++ b/src/loader/Compiler.cpp @@ -193,7 +193,7 @@ void Compiler::Relocate(iostream &out) { Object object; out.read(reinterpret_cast(&object), sizeof(Object)); const TypeDescription &td = TypeDescription::Get(object.typeId); - if (td.NeedsLinking()) { + if (!td.NeedsLinking()) { out.seekg(object.size, iostream::cur); continue; }