aboutsummaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-27 02:18:40 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-27 02:22:21 -0300
commit42959207914208438261810757abea43422a28fe (patch)
treefb7c3c6917a32f35cfb64138b7823c98fb75fbfb /src/util.cc
parentad1f1814541fc38f7c06e88c7925fbb5bd0dceeb (diff)
downloadgame-42959207914208438261810757abea43422a28fe.tar.gz
game-42959207914208438261810757abea43422a28fe.zip
impl RefreshSector and PatchSector (WTF)
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index e0e335b..0982cd7 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -228,7 +228,7 @@ void TReadStream::readBytes(uint8 *Buffer, int Count){
// TReadBuffer
// =============================================================================
-TReadBuffer::TReadBuffer(uint8 *Data, int Size){
+TReadBuffer::TReadBuffer(const uint8 *Data, int Size){
if(Data == NULL){
error("TReadBuffer::TReadBuffer: data ist NULL.\n");
Size = 0;