mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	rogueviz:: seuphorica:: draw if cell not on board
This commit is contained in:
		| @@ -553,6 +553,11 @@ void render_tile(shiftmatrix V, tile& t, cell *c, vector<tile>* origbox, int box | ||||
| bool draw(cell *c, const shiftmatrix& V) { | ||||
|   if(c->land == laMemory) return false; | ||||
|   check_orientation(c); | ||||
|   if(!board.count(c) && in_board(c) && tile_orientation.count(c) && anyshiftclick) { | ||||
|     int spi = tile_orientation[c].spin; | ||||
|     for(int i=0; i<c->type; i++) if((i & 1) == (spi & 1)) | ||||
|       queueline(V * tile_center(), V * mid(tile_center(), currentmap->adj(c, i) * tile_center()), 0xFFD500FF); | ||||
|     } | ||||
|   bool inside = in_board(c); | ||||
|   if(inside) { | ||||
|     c->wall = waNone; c->landparam = 0x202020; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue