projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20090925-1-src
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 239b85ec89a51863584162e5c2a7a9f840016854..863ac2036459f5a820f3205435c8a45a5253a234 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-4013,7
+4013,8
@@
static void LoadLevelFromFileInfo_SP(struct LevelInfo *level,
}
/* position file stream to the requested level inside the level package */
- if (fseek(file, nr * SP_LEVEL_SIZE, SEEK_SET) != 0)
+ if (level_file_info->packed &&
+ fseek(file, nr * SP_LEVEL_SIZE, SEEK_SET) != 0)
{
level->no_valid_file = TRUE;