summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 4b0e2a0f8..933b5a918 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -124,6 +124,7 @@ namespace Commands
decHandler(disableAway);
decHandler(enableAway);
decHandler(testParticle);
+ decHandler(createItems);
void replaceVars(std::string &str);
} // namespace Commands
@@ -215,6 +216,7 @@ enum
COMMAND_SETHOME,
COMMAND_MAGICATTACK,
COMMAND_TEST_PARTICLE,
+ COMMAND_CREATEITEMS,
COMMAND_HACK,
END_COMMANDS
};
@@ -306,6 +308,7 @@ static const CommandInfo commands[] =
{"sethome", nullptr, Input::KEY_SET_HOME, false},
{"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false},
{"testparticle", &Commands::testParticle, -1, true},
+ {"createitems", &Commands::createItems, -1, false},
{"hack", &Commands::hack, -1, true}
};