summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 21:58:18 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 21:58:18 +0000
commit9cc4ae67d7aba85a9eee26bb6e390ecd2e30da77 (patch)
treeb615526b7a5a739df6cbee1331c7f493baaded33 /crawl-ref/source/util
parentbe9f773b92d011e6cb8a1bdfa72ae323807b8468 (diff)
downloadcrawl-ref-9cc4ae67d7aba85a9eee26bb6e390ecd2e30da77.tar.gz
crawl-ref-9cc4ae67d7aba85a9eee26bb6e390ecd2e30da77.zip
A little bit of savegame code cleanup; and a small format change to make
life easier (or rather, possible) for dump_savegame. Should not break saves (let me know if they do). - Fixed dump_savegame bug reading TAG_LEVEL. Handle lua map_markers (by skipping over them) -- requires format change and minor version bump. - Consolidated YOU_MINOR_VERSION, LEVEL_MINOR_VERSION, GHOST_MINOR_VERSION into a single TAG_MINOR_VERSION, because otherwise versions can't be passed into data structures being deserialized (because they may be contained in both you and ghost, for example). - Clean out old code that pretends to restore other major versions, and some duplicate code that pretends level loading and general tagged file loading are different. (Left ghosts alone because they really do do something different, slightly) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4420 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/dump_savegame2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/dump_savegame b/crawl-ref/source/util/dump_savegame
index 9069c38ac4..a29c36c733 100755
--- a/crawl-ref/source/util/dump_savegame
+++ b/crawl-ref/source/util/dump_savegame
@@ -32,7 +32,7 @@ def process_zip(opts, fn):
save = crawl.tags.TaggedFile(StringIO(zip.read(n)))
except Exception, e:
print " Failed (not a tag file?)"
- continue
+ raise
process_file(opts, save)