Minor fix to wad, add .pyc ignore.
authorDan Olson <theoddone33@icculus.org>
Tue, 5 Aug 2008 09:46:10 +0000 (02:46 -0700)
committerDan Olson <theoddone33@icculus.org>
Tue, 5 Aug 2008 09:46:10 +0000 (02:46 -0700)
.gitignore
pyhexen/wad.py

index 3f5ef6a..78f08dd 100644 (file)
@@ -5,3 +5,4 @@ config.status
 heretic.cfg
 hheretic-gl
 include/config.h
+*.pyc
index 89b3cc5..16a82b6 100644 (file)
@@ -39,7 +39,7 @@ class wad:
                else:
                        # single file, boring.
                        size = os.stat (filename).st_size
-                       lumpinfo.append ((0, size, base))
+                       lumpinfo.append ((0, size, base.upper()[:8]))
 
                # Dump the info into our table of accumulated crap.
                for (start, len, name) in lumpinfo: