summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-01-12 18:22:27 (GMT)
committer Cracker64 <cracker642@gmail.com>2011-01-12 18:22:27 (GMT)
commit6083b64b727ce6fc2f0685b5fa1fb8fba970b792 (patch)
treede3d0ce706328fd7429688e2ffb01799f8027a67 /src
parentcc4489ff295923dd2c0a0bef8cfa4210a7041410 (diff)
downloadpowder-6083b64b727ce6fc2f0685b5fa1fb8fba970b792.zip
powder-6083b64b727ce6fc2f0685b5fa1fb8fba970b792.tar.gz
portal was invisible in debug, oops
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 121563b..be84b61 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1836,6 +1836,7 @@ void draw_parts(pixel *vid)
}
else if(t==PT_PRTI && DEBUG_MODE)
{
+ blendpixel(vid,nx,ny, PIXR(ptypes[t].pcolors), PIXG(ptypes[t].pcolors), PIXB(ptypes[t].pcolors),255);
if(mousex==(nx) && mousey==(ny))
{
int z;
@@ -1850,6 +1851,7 @@ void draw_parts(pixel *vid)
}
else if(t==PT_PRTO && DEBUG_MODE)
{
+ blendpixel(vid,nx,ny, PIXR(ptypes[t].pcolors), PIXG(ptypes[t].pcolors), PIXB(ptypes[t].pcolors),255);
if(mousex==(nx) && mousey==(ny))
{
int z;