Code formatting

This commit is contained in:
2024-10-06 14:36:43 +02:00
parent d767b95d59
commit 617e0e54f1
5 changed files with 15 additions and 14 deletions

View File

@@ -176,4 +176,4 @@ void GameEnts_Init() {
ent_Block->height = 64;
ent_Block->fric_static = 0.0f;
ent_Block->fric_dynamic = 0.2f;
}
}

View File

@@ -75,7 +75,7 @@ int GameMap_LoadLevel(char *filename, int res) {
// Build the map
map = malloc(sizeof(char) * width * height);
memset(map, 0, width * height);
#define MAP(x, y) map[(x) + ((y)*width)]
#define MAP(x, y) map[(x) + ((y) * width)]
j = 0;
do {
len = ReadLine(file, line, MaxLineLen);