summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-18 21:23:24 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-18 21:23:24 (GMT)
commit5e56850682e033a202f633319c08965b0ed1ac69 (patch)
tree38e8271e1ba5b2d720585cd43706ba00326b2c80 /src/graphics.c
parent5d0da4b13882608536ba96e977de1fe4fd6f8b55 (diff)
downloadpowder-5e56850682e033a202f633319c08965b0ed1ac69.zip
powder-5e56850682e033a202f633319c08965b0ed1ac69.tar.gz
Added element replacement ability. hit insert. capslock is shift-alt so you can do lines/boxes with specific element erase. read post for other changes
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 1f8ef91..c58d4f2 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1391,7 +1391,7 @@ void draw_parts(pixel *vid)
isplayer = 1; //It's a secret. Tssss...
}
- if(cmode==CM_NOTHING)//nothing display
+ if(cmode==CM_NOTHING && t!=PT_PIPE && t!=PT_SWCH && t!=PT_LCRY)//nothing display but show needed color changes
{
cr = PIXR(ptypes[t].pcolors);
cg = PIXG(ptypes[t].pcolors);