diff --git a/game/map_init.c b/game/map_init.c index 16293f7..14891c4 100644 --- a/game/map_init.c +++ b/game/map_init.c @@ -282,8 +282,8 @@ void loadMap(Game *game, const char *path, bool mainMenu) { game->entityGrid = bzSpatialGridCreate(&(BzSpatialGridDesc) { .maxWidth=game->map.width * game->map.tileWidth, .maxHeight=game->map.height * game->map.tileHeight, - .cellWidth=game->map.tileWidth * 4, - .cellHeight=game->map.tileHeight * 4, + .cellWidth=game->map.tileWidth * 3, + .cellHeight=game->map.tileHeight * 3, .userDataSize=sizeof(ecs_entity_t) });