summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index c598c5f9..6ef669e4 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -60,9 +60,9 @@ namespace {
*/
struct WeightListener : public gcn::ActionListener
{
- void action(const gcn::ActionEvent &event)
+ void action(const gcn::ActionEvent &event) override
{
- weightNotice = NULL;
+ weightNotice = nullptr;
}
} weightListener;
@@ -71,10 +71,10 @@ namespace {
*/
struct DeathListener : public gcn::ActionListener
{
- void action(const gcn::ActionEvent &event)
+ void action(const gcn::ActionEvent &event) override
{
Net::getPlayerHandler()->respawn();
- deathNotice = NULL;
+ deathNotice = nullptr;
BuyDialog::closeAll();
BuySellDialog::closeAll();