From 9a707003aaf2fb126eda4660c3599e13acb10789 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 5 Jun 2018 23:15:09 -0400 Subject: [PATCH] fix blue line in smudge tool texture --- src/gui/game/DecorationTool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/game/DecorationTool.h b/src/gui/game/DecorationTool.h index dbfc07e88..80d0201a4 100644 --- a/src/gui/game/DecorationTool.h +++ b/src/gui/game/DecorationTool.h @@ -27,7 +27,7 @@ public: //else if (toolID == DECO_DARK) // vid_buf[WINDOWW*(y+j)+(x+i)] = PIXRGB(PIXR(pc)+10*j, PIXG(pc)+10*j, PIXB(pc)+10*j); if (toolID == DECO_SMUDGE) - newTexture->SetPixel(x, y, 0, 255-5*x, 255+5*x, 255); + newTexture->SetPixel(x, y, 0, 255-5*x, 5*x, 255); else if (toolID == DECO_DRAW || toolID == DECO_CLEAR) newTexture->SetPixel(x, y, Red, Green, Blue, Alpha); else