More refactoring of code.

This commit is contained in:
hondacrx
2019-09-23 21:41:13 -04:00
parent 2418715800
commit 570aebce26
176 changed files with 2261 additions and 2265 deletions
+2 -2
View File
@@ -471,8 +471,8 @@ namespace Game
return phaseShift.VisibleMapIds.First().Key;
GridCoord gridCoord = GridDefines.ComputeGridCoord(x, y);
uint gx = (uint)((MapConst.MaxGrids - 1) - gridCoord.x_coord);
uint gy = (uint)((MapConst.MaxGrids - 1) - gridCoord.y_coord);
uint gx = (uint)((MapConst.MaxGrids - 1) - gridCoord.X_coord);
uint gy = (uint)((MapConst.MaxGrids - 1) - gridCoord.Y_coord);
uint gxbegin = Math.Max(gx - 1, 0);
uint gxend = Math.Min(gx + 1, MapConst.MaxGrids);