From 6305274d522f04ddcbb41a62285f33be06854211 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Wed, 20 May 2020 00:21:31 +0100 Subject: [PATCH] Quietly remove a thing I didn't realised I'd committed It's probably good, if doing experimental changes that break everytihng, not to commit and push them to the main branch --- include/SCBufferAdaptor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SCBufferAdaptor.hpp b/include/SCBufferAdaptor.hpp index 2be9d9d..bca7445 100644 --- a/include/SCBufferAdaptor.hpp +++ b/include/SCBufferAdaptor.hpp @@ -105,10 +105,10 @@ public: // knows about bool valid() const override { - return (exists() && (mLocal ? true : mBufnum >= 0 && mBufnum < asSigned(mWorld->mNumSndBufs))); + return (mLocal ? true : mBufnum >= 0 && mBufnum < asSigned(mWorld->mNumSndBufs)); } - bool exists() const override { return mBuffer && mBuffer->data; } + bool exists() const override { return true; } FluidTensorView allFrames() override {