Changeset 147f662 in network-game for client/Client


Ignore:
Timestamp:
Jun 23, 2013, 5:18:50 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
694c3d2
Parents:
b650f8a
Message:

Fix a bug where the entire map wasn't being drawn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    rb650f8a r147f662  
    757757   mapPos = mapToScreen(mapPos);
    758758
    759    for (int x=0; x<12; x++)
     759   for (int x=0; x<gameMap->width; x++)
    760760   {
    761       for (int y=0; y<12; y++)
     761      for (int y=0; y<gameMap->height; y++)
    762762      {
    763763         WorldMap::TerrainType el = gameMap->getElement(x, y);
Note: See TracChangeset for help on using the changeset viewer.