TrinityCore/TrinityCore — comment on commit 97142102e010634cba66259844e90156ed97a3ab
File:  line 0
By ewow:

changes in src/server/game/Grids/GridDefines.h modified few 0.5 to 0.5f even if they are added to double values
double x_offset = (double(x) - CENTER_GRID_CELL_OFFSET)/SIZE_OF_GRID_CELL;
int x_val = int(x_offset + CENTER_GRID_CELL_ID + 0.5f);
so the 0.5f will be casted anyway to double by the compiler.