[DiscordArchive] if m is shorter than 4 ?
[DiscordArchive] if m is shorter than 4 ?
Archived author: MaxtorCoder • Posted: 2019-01-31T13:19:04.704000+00:00
Original source
MOTX
Archived author: MaxtorCoder • Posted: 2019-01-31T13:19:09.321000+00:00
Original source
In a 3.3.5 file
Archived author: MaxtorCoder • Posted: 2019-01-31T13:29:06.047000+00:00
Original source
Fixed it
Archived author: MaxtorCoder • Posted: 2019-01-31T13:29:26.940000+00:00
Original source
The array wasn't the problem
Archived author: MaxtorCoder • Posted: 2019-01-31T13:29:41.305000+00:00
Original source
The MOMT chunk was incorrect
Archived author: Deleted User • Posted: 2019-01-31T13:30:02.162000+00:00
Original source
Then your error was not in the function you posted
Archived author: MaxtorCoder • Posted: 2019-01-31T13:30:16.580000+00:00
Original source
Well it sent me to that function
Archived author: MaxtorCoder • Posted: 2019-01-31T13:30:24.391000+00:00
Original source
And it said `Array is out of range of index`
Archived author: MaxtorCoder • Posted: 2019-01-31T13:30:26.822000+00:00
Original source
Or whatever
Archived author: MaxtorCoder • Posted: 2019-01-31T13:31:30.216000+00:00
Original source
I really don't understand how they did this while MOTX is before MOMT
```cpp
struct MOTX
{
CHUNK_HEADER hdr;
char textureNamesBuf[ hdr.size / sizeof(MOMTs) ];
};
```