diff pytouhou/formats/std.py @ 20:6ebf9539c077

Handle more enemies types and movements
author Thibaut Girka <thib@sitedethib.com>
date Thu, 11 Aug 2011 12:13:48 +0200
parents 07fba4e1da65
children ab826bc29aa2
line wrap: on
line diff
--- a/pytouhou/formats/std.py
+++ b/pytouhou/formats/std.py
@@ -86,7 +86,7 @@ class Stage(object):
             elif message_type == 1: # Color
                 args = unpack('<BBBBff', data)
             elif message_type == 2: # ViewPos2
-                args = unpack('<Iff', data)
+                args = unpack('<fff', data)
             elif message_type == 3:  # StartInterpolatingViewPos2
                 args = tuple(unpack('<III', data)[:1])
             elif message_type == 4: # StartInterpolatingFog