From 48d4aa0e89df0160437bafa71b0f51e61ea0e727 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Fri, 21 Mar 2008 19:05:35 +0000 Subject: added the rifle to the maps and removed it from the starting inventory --- src/game/editor/ed_layer_tiles.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/editor') 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++) -- cgit 1.4.1