]> git.sesse.net Git - cubemap/blobdiff - input.cpp
Fix broken Client constructor.
[cubemap] / input.cpp
index 29e4ed3975577e998184c27cf539419b77adb801..d36919407077c60aff7f34eabb5a74dc57f15aab 100644 (file)
--- a/input.cpp
+++ b/input.cpp
@@ -91,7 +91,7 @@ void Input::curl_callback(char *ptr, size_t bytes)
                        return;
                }
 
                        return;
                }
 
-               process_block(pending_data.data(), size, flags);
+               process_block(pending_data.data() + sizeof(metacube_block_header), size, flags);
 
                // Consume this block. This isn't the most efficient way of dealing with things
                // should we have many blocks, but these routines don't need to be too efficient
 
                // Consume this block. This isn't the most efficient way of dealing with things
                // should we have many blocks, but these routines don't need to be too efficient