From 3790bff33c3a05c5895dab6c21761253f640a395 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Dec 2016 23:52:14 +0300 Subject: Use templated parameters in Being::getOffset. --- src/being/being.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index e1f97a08b..b35c550bd 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1175,8 +1175,8 @@ class Being notfinal : public ActorSprite, * If walking in direction 'neg' the value is negated. * TODO: Used by eAthena only? */ - int getOffset(const signed char pos, - const signed char neg) const restrict2 A_WARN_UNUSED; + template + int getOffset() const restrict2 A_WARN_UNUSED; int searchSlotValue(const std::vector &restrict slotRemap, const int val) const restrict2 A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2