diff options
Diffstat (limited to 'src/sending.cc')
| -rw-r--r-- | src/sending.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sending.cc b/src/sending.cc index 3b22cc3..d1cca27 100644 --- a/src/sending.cc +++ b/src/sending.cc @@ -452,7 +452,7 @@ void SendFullScreen(TConnection *Connection){ int ZOffset = (PlayerZ - PointZ); for(int PointX = MinX; PointX <= MaxX; PointX += 1) for(int PointY = MinY; PointY <= MaxY; PointY += 1){ - SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PlayerZ); + SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PointZ); } } SkipFlush(Connection); @@ -506,7 +506,7 @@ void SendRow(TConnection *Connection, int Direction){ int ZOffset = (PlayerZ - PointZ); for(int PointX = MinX; PointX <= MaxX; PointX += 1) for(int PointY = MinY; PointY <= MaxY; PointY += 1){ - SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PlayerZ); + SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PointZ); } } SkipFlush(Connection); @@ -568,7 +568,7 @@ void SendFloors(TConnection *Connection, bool Up){ int ZOffset = (PlayerZ - PointZ); for(int PointX = MinX; PointX <= MaxX; PointX += 1) for(int PointY = MinY; PointY <= MaxY; PointY += 1){ - SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PlayerZ); + SendMapPoint(Connection, PointX + ZOffset, PointY + ZOffset, PointZ); } } SkipFlush(Connection); |
