diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2016-08-20 09:49:37 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2016-08-20 09:49:37 +0200 |
commit | 1b1767e9f4c20d1e20541968de98d00814f63247 (patch) | |
tree | ee95040cf29644aff151f9aebdf3bfd9e18ae08d /src/scripts/Commands/cs_achievement.cpp | |
parent | d7fdf7c940317aebcbbeeaf156469e1571e01498 (diff) |
Fix commands and starting to use nullptr instead of NULL
Diffstat (limited to 'src/scripts/Commands/cs_achievement.cpp')
-rw-r--r-- | src/scripts/Commands/cs_achievement.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/Commands/cs_achievement.cpp b/src/scripts/Commands/cs_achievement.cpp index b10084527f..cb9470e431 100644 --- a/src/scripts/Commands/cs_achievement.cpp +++ b/src/scripts/Commands/cs_achievement.cpp @@ -26,13 +26,11 @@ public: static std::vector<ChatCommand> achievementCommandTable = { { "add", SEC_ADMINISTRATOR, false, &HandleAchievementAddCommand, "" }, - { "checkall", SEC_ADMINISTRATOR, false, &HandleAchievementCheckAllCommand, "" }, - { NULL, 0, false, NULL, "" } + { "checkall", SEC_ADMINISTRATOR, false, &HandleAchievementCheckAllCommand, "" } }; static std::vector<ChatCommand> commandTable = { - { "achievement", SEC_ADMINISTRATOR, false, NULL, "", achievementCommandTable }, - { NULL, 0, false, NULL, "" } + { "achievement", SEC_ADMINISTRATOR, false, nullptr, "", achievementCommandTable } }; return commandTable; } |