Changeset f3cf1a5 in network-game


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

The client draws all map objects instead of some of them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    r694c3d2 rf3cf1a5  
    339339                  {
    340340                     // need to check if the right-click was actually on this player
     341                     // right now, this code will target all players other than the current one
    341342                     target = &it->second;
    342343                     if (target->id != curPlayerId && target->team != curPlayer->team) {
     
    781782   }
    782783
    783    for (int x=0; x<12; x++)
     784   for (int x=0; x<gameMap->width; x++)
    784785   {
    785       for (int y=0; y<12; y++)
     786      for (int y=0; y<gameMap->height; y++)
    786787      {
    787788         vector<WorldMap::Object> vctObjects = gameMap->getObjects(x, y);
Note: See TracChangeset for help on using the changeset viewer.