netpanzer-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces MapInterface...


From: Ivo Danihelka
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces MapInterface...
Date: Sun, 14 Sep 2003 14:18:32 -0400

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Ivo Danihelka <address@hidden>  03/09/14 14:18:31

Modified files:
        src/NetPanzer/Interfaces: MapInterface.cpp 

Log message:
        fixed x/y typo

Patches:
Index: netpanzer/src/NetPanzer/Interfaces/MapInterface.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/MapInterface.cpp:1.6 
netpanzer/src/NetPanzer/Interfaces/MapInterface.cpp:1.7
--- netpanzer/src/NetPanzer/Interfaces/MapInterface.cpp:1.6     Wed Sep 10 
08:32:54 2003
+++ netpanzer/src/NetPanzer/Interfaces/MapInterface.cpp Sun Sep 14 14:18:31 2003
@@ -194,7 +194,7 @@
 
 /*
    if (   (map_loc.x  >= 0) && (map_loc.x < main_map.getXsize() ) 
-         && (map_loc.y >= 0) && (map_loc.y < main_map.getXsize() ) 
+         && (map_loc.y >= 0) && (map_loc.y < main_map.getYsize() ) 
           )
    { 
   
@@ -243,7 +243,7 @@
   //*****************************************************************
  
   if (      (map_loc.x >= 0) && (map_loc.x < main_map.getXsize() ) 
-         && (map_loc.y >= 0) && (map_loc.y < main_map.getXsize() ) 
+         && (map_loc.y >= 0) && (map_loc.y < main_map.getYsize() ) 
      )
    { 
     tile_val = main_map.mapValue( (unsigned short) map_loc.x, (unsigned short) 
map_loc.y ) ;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]