Changeset 694c3d2 in network-game for server/server.cpp
- Timestamp:
- Jun 23, 2013, 5:45:05 PM (11 years ago)
- Branches:
- master
- Children:
- f3cf1a5
- Parents:
- 147f662
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
r147f662 r694c3d2 710 710 { 711 711 // we need to make sure the player can move here 712 if (0 <= x && x < 300 && 0 <= y && y < 300&&712 if (0 <= x && x < gameMap->width*25 && 0 <= y && y < gameMap->height*25 && 713 713 gameMap->getElement(x/25, y/25) == WorldMap::TERRAIN_GRASS) 714 714 {
Note:
See TracChangeset
for help on using the changeset viewer.