X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/3d673858df99c9ff1a10eb14ca57f8447923b094..4637e82e74fc0fabefda27f01073ccc1305f36b8:/src/engine/music.c diff --git a/src/engine/music.c b/src/engine/music.c index 8c17f9d..eb209bb 100644 --- a/src/engine/music.c +++ b/src/engine/music.c @@ -1,6 +1,6 @@ /* * upkg: tool for manipulating Unreal Tournament packages. - * Copyright (C) 2009 Nick Bowler + * Copyright © 2009-2011 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -138,7 +138,7 @@ static int deserialize(UObject *uo) return -1; pos += 1; - if (f->pkg->version > 61) { + if (uo->pkg->version > 61) { /* Random field #2 */ if (buflen - pos < 4) return -1;