medfall

A super great game engine
Log | Files | Refs

commit 516febfa333008e4f0aeeba6027c8b49e2addbfc
parent 8c6f7871e5421c262851a478d577e6af2cbcb0f6
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Jul  6 20:44:09 +0300

Oops

Diffstat:
pool.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pool.h b/pool.h @@ -18,7 +18,7 @@ public: } void release( T * x ) { - ASSERT( x > elems.ptr() && x < elems.ptr() + N ); + ASSERT( x >= elems.ptr() && x < elems.ptr() + N ); *x = elems[ elems.n - 1 ]; elems.n--;