From 783578d28ec6f7d61e7a4b55c608f4f54b725df7 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 15 Aug 2025 14:59:56 -0300 Subject: wrapping up for a public release --- src/login.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login.hh') diff --git a/src/login.hh b/src/login.hh index 99c8ceb..aa391a1 100644 --- a/src/login.hh +++ b/src/login.hh @@ -290,7 +290,7 @@ struct TWriteBuffer{ } void Rewrite16(int Position, uint16 Value){ - if((Position + 2) <= this->Position){ + if((Position + 2) <= this->Position && !this->Overflowed()){ BufferWrite16LE(this->Buffer + Position, Value); } } -- cgit v1.2.3