diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-21 21:26:32 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-25 10:54:41 +0100 |
commit | a50244dc16085a49f4949cf75f6220320480cebd (patch) | |
tree | 34a022c699eed9c8651ddbe8391c985753e46b2b /src/text | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-a50244dc16085a49f4949cf75f6220320480cebd.tar re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.gz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.bz2 re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.lz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.xz re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.zst re3-a50244dc16085a49f4949cf75f6220320480cebd.zip |
Diffstat (limited to 'src/text')
-rw-r--r-- | src/text/Text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text/Text.cpp b/src/text/Text.cpp index e23369fb..5f7a07cc 100644 --- a/src/text/Text.cpp +++ b/src/text/Text.cpp @@ -318,7 +318,7 @@ CKeyArray::Load(size_t length, int file, size_t* offset) entries = new CKeyEntry[numEntries]; rawbytes = (char*)entries; -#if DUMB +#if THIS_IS_STUPID for (uint32 i = 0; i < length; i++) { CFileMgr::Read(file, &rawbytes[i], 1); (*offset)++; @@ -412,7 +412,7 @@ CData::Load(size_t length, int file, size_t * offset) chars = new wchar[numChars]; rawbytes = (char*)chars; -#if DUMB +#if THIS_IS_STUPID for(uint32 i = 0; i < length; i++){ CFileMgr::Read(file, &rawbytes[i], 1); (*offset)++; @@ -434,7 +434,7 @@ CData::Unload(void) void CMissionTextOffsets::Load(size_t table_size, int file, size_t *offset, int) { -#if DUMB +#if THIS_IS_STUPID size_t num_of_entries = table_size / sizeof(CMissionTextOffsets::Entry); for (size_t mi = 0; mi < num_of_entries; mi++) { for (uint32 i = 0; i < sizeof(data[mi].szMissionName); i++) { |