about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 19:05:35 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 19:05:35 +0000
commit48d4aa0e89df0160437bafa71b0f51e61ea0e727 (patch)
treee7b44ee4ead2f8d811d872d661cfeaacea730f73 /src/game/editor
parent45a047ce478e31297eba35e2e3121b25cabeae12 (diff)
downloadzcatch-48d4aa0e89df0160437bafa71b0f51e61ea0e727.tar.gz
zcatch-48d4aa0e89df0160437bafa71b0f51e61ea0e727.zip
added the rifle to the maps and removed it from the starting inventory
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_layer_tiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/editor/ed_layer_tiles.cpp b/src/game/editor/ed_layer_tiles.cpp
index d24d67c4..555c26a3 100644
--- a/src/game/editor/ed_layer_tiles.cpp
+++ b/src/game/editor/ed_layer_tiles.cpp
@@ -145,8 +145,8 @@ void LAYER_TILES::brush_flip_x()
 		for(int x = 0; x < width/2; x++)
 		{
 			TILE tmp = tiles[y*width+x];
-			tiles[y*width+x] = tiles[y*width+x+width-1-x];
-			tiles[y*width+x+width-1-x] = tmp;
+			tiles[y*width+x] = tiles[y*width+width-1-x];
+			tiles[y*width+width-1-x] = tmp;
 		}
 
 	for(int y = 0; y < height; y++)