forked from jaildesigner-jailgames/jaildoctors_dilemma
Tiles que matan hecho
This commit is contained in:
@@ -633,14 +633,14 @@ tile_e Room::getTile(int index)
|
||||
return t_slope_l;
|
||||
}
|
||||
|
||||
// Las filas 10-17 son de tiles t_passable
|
||||
if ((tilemap[index] >= 10 * tilesetWidth) && (tilemap[index] < 18 * tilesetWidth))
|
||||
// Las filas 10-18 son de tiles t_passable
|
||||
if ((tilemap[index] >= 10 * tilesetWidth) && (tilemap[index] < 19 * tilesetWidth))
|
||||
{
|
||||
return t_passable;
|
||||
}
|
||||
|
||||
// Las fila 18 es de tiles t_kill
|
||||
if ((tilemap[index] >= 18 * tilesetWidth) && (tilemap[index] < 19 * tilesetWidth))
|
||||
// Las fila 19 es de tiles t_kill
|
||||
if ((tilemap[index] >= 19 * tilesetWidth) && (tilemap[index] < 20 * tilesetWidth))
|
||||
{
|
||||
return t_kill;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user