From b50eee3c4571c4a4657bc14c2935067d833bb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:19 +0300 Subject: Add const attribute to net classes. --- src/net/eathena/pethandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/pethandler.h') diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index 2e8dddb05..bc03e3dbd 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -38,7 +38,7 @@ class PetHandler final : public Net::PetHandler void spawn(const Being *const being, const int petId, - const int x, const int y) const override final; + const int x, const int y) const override final A_CONST; void emote(const uint8_t emoteId, const int petId) override final; @@ -61,7 +61,7 @@ class PetHandler final : public Net::PetHandler void setDirection(const unsigned char type) const override final; - void startAi(const bool start) const override final; + void startAi(const bool start) const override final A_CONST; }; } // namespace EAthena -- cgit v1.2.3-60-g2f50