summaryrefslogtreecommitdiff
path: root/src/simulation/elements/WARP.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-11 10:57:21 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-11 10:57:21 (GMT)
commit2f76c2374d9d8da0b3ed512113a611c9af5653b5 (patch)
treea760cab309c4c471a304305ed7852b1de1c15efd /src/simulation/elements/WARP.cpp
parentca7b02dbfdd0c11bc9e01b606797f5274f548c6c (diff)
downloadpowder-2f76c2374d9d8da0b3ed512113a611c9af5653b5.zip
powder-2f76c2374d9d8da0b3ed512113a611c9af5653b5.tar.gz
TPT: Give menu color to elements without one (stickmen, TRON, and WARP)
Diffstat (limited to 'src/simulation/elements/WARP.cpp')
-rw-r--r--src/simulation/elements/WARP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/WARP.cpp b/src/simulation/elements/WARP.cpp
index bcd71a3..bb8f8e1 100644
--- a/src/simulation/elements/WARP.cpp
+++ b/src/simulation/elements/WARP.cpp
@@ -4,7 +4,7 @@ Element_WARP::Element_WARP()
{
Identifier = "DEFAULT_PT_WARP";
Name = "WARP";
- Colour = PIXPACK(0x000000);
+ Colour = PIXPACK(0x101010);
MenuVisible = 1;
MenuSection = SC_NUCLEAR;
Enabled = 1;
@@ -87,7 +87,7 @@ int Element_WARP::update(UPDATE_FUNC_ARGS)
//#TPT-Directive ElementHeader Element_WARP static int graphics(GRAPHICS_FUNC_ARGS)
int Element_WARP::graphics(GRAPHICS_FUNC_ARGS)
{
- *cola = 0;
+ *colr = *colg = *colb = *cola = 0;
*pixel_mode &= ~PMODE;
return 0;
}