Update macos indexes i forgot to update

This commit is contained in:
BenCat07 2022-07-12 21:07:39 +02:00
parent 0a69cb0ca5
commit 7f39894446

View File

@ -23,12 +23,12 @@ public:
inline static int GetSlot(IClientEntity *self) inline static int GetSlot(IClientEntity *self)
{ {
typedef int (*fn_t)(IClientEntity *); typedef int (*fn_t)(IClientEntity *);
return vfunc<fn_t>(self, offsets::PlatformOffset(398, offsets::undefined, 397), 0)(self); return vfunc<fn_t>(self, offsets::PlatformOffset(398, offsets::undefined, 398), 0)(self);
} }
inline static const char *GetPrintName(IClientEntity *self) inline static const char *GetPrintName(IClientEntity *self)
{ {
typedef const char *(*fn_t)(IClientEntity *); typedef const char *(*fn_t)(IClientEntity *);
return vfunc<fn_t>(self, offsets::PlatformOffset(401, offsets::undefined, 400), 0)(self); return vfunc<fn_t>(self, offsets::PlatformOffset(401, offsets::undefined, 401), 0)(self);
} }
}; };
} // namespace re } // namespace re