diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 15:56:41 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 15:56:41 (GMT) |
| commit | 5904844e96da821c276fe3409f6c173e71ef7dc2 (patch) | |
| tree | 8e6549c6fdb57cc152fe485215b0797090dfe0df /src/game/DecorationTool.h | |
| parent | d256439c408094356d731afd7ab84c2365cbde7b (diff) | |
| download | powder-5904844e96da821c276fe3409f6c173e71ef7dc2.zip powder-5904844e96da821c276fe3409f6c173e71ef7dc2.tar.gz | |
Add way of uniquely identifying tools, preserve active menu and tools when rebuilding menus (fixes #170)
Diffstat (limited to 'src/game/DecorationTool.h')
| -rw-r--r-- | src/game/DecorationTool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/DecorationTool.h b/src/game/DecorationTool.h index 39c070b..679c854 100644 --- a/src/game/DecorationTool.h +++ b/src/game/DecorationTool.h @@ -16,8 +16,8 @@ public: unsigned char Blue; unsigned char Alpha; - DecorationTool(ToolType decoMode_, string name, string description, int r, int g, int b): - Tool(0, name, description, r, g, b), + DecorationTool(ToolType decoMode_, string name, string description, int r, int g, int b, std::string identifier): + Tool(0, name, description, r, g, b, identifier), decoMode(decoMode_), Red(0), Green(0), |
