whoops, forgot to seek.

This commit is contained in:
David Rose 2008-11-12 19:44:49 +00:00
parent b4421c3157
commit cef263157d

View File

@ -237,7 +237,8 @@ underflow() {
nassertr(gptr() + num_bytes <= egptr(), EOF);
streamsize read_count;
_source->read(gptr(), num_bytes, read_count);
bool eof;
_source->seek_read(_cur, gptr(), num_bytes, read_count, eof);
if (read_count != num_bytes) {
// Oops, we didn't read what we thought we would.