Changeset f3cf1a5 in network-game
- Timestamp:
- Jun 23, 2013, 5:46:12 PM (11 years ago)
- Branches:
- master
- Children:
- 787806f
- Parents:
- 694c3d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
r694c3d2 rf3cf1a5 339 339 { 340 340 // 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 341 342 target = &it->second; 342 343 if (target->id != curPlayerId && target->team != curPlayer->team) { … … 781 782 } 782 783 783 for (int x=0; x< 12; x++)784 for (int x=0; x<gameMap->width; x++) 784 785 { 785 for (int y=0; y< 12; y++)786 for (int y=0; y<gameMap->height; y++) 786 787 { 787 788 vector<WorldMap::Object> vctObjects = gameMap->getObjects(x, y);
Note:
See TracChangeset
for help on using the changeset viewer.