1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

code review (first batch)

This commit is contained in:
Laserlicht
2025-04-10 21:04:24 +02:00
parent 42673c1bab
commit 5b74f7f19e
12 changed files with 59 additions and 52 deletions

View File

@@ -69,7 +69,7 @@ namespace BitmapHandler
it = (int)size - 256 * 3;
for(int i = 0; i < 256; i++)
{
unsigned char bytes[4];
std::array<uint8_t, 4> bytes;
bytes[0] = pcx[it++];
bytes[1] = pcx[it++];
bytes[2] = pcx[it++];