From 1b1767e9f4c20d1e20541968de98d00814f63247 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sat, 20 Aug 2016 09:49:37 +0200 Subject: Fix commands and starting to use nullptr instead of NULL --- src/scripts/Commands/cs_reset.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/scripts/Commands/cs_reset.cpp') diff --git a/src/scripts/Commands/cs_reset.cpp b/src/scripts/Commands/cs_reset.cpp index dab643fd95..d05ace9dd3 100644 --- a/src/scripts/Commands/cs_reset.cpp +++ b/src/scripts/Commands/cs_reset.cpp @@ -34,13 +34,11 @@ public: { "spells", SEC_ADMINISTRATOR, true, &HandleResetSpellsCommand, "" }, { "stats", SEC_ADMINISTRATOR, true, &HandleResetStatsCommand, "" }, { "talents", SEC_ADMINISTRATOR, true, &HandleResetTalentsCommand, "" }, - { "all", SEC_ADMINISTRATOR, true, &HandleResetAllCommand, "" }, - { NULL, 0, false, NULL, "" } + { "all", SEC_ADMINISTRATOR, true, &HandleResetAllCommand, "" } }; static std::vector commandTable = { - { "reset", SEC_ADMINISTRATOR, true, NULL, "", resetCommandTable }, - { NULL, 0, false, NULL, "" } + { "reset", SEC_ADMINISTRATOR, true, nullptr, "", resetCommandTable } }; return commandTable; } -- cgit v1.2.3