small fix

This commit is contained in:
Skull Merlin 2022-05-17 18:08:53 +03:00
parent 1d06f9108c
commit cd16afe704
3 changed files with 4 additions and 4 deletions

View File

@ -63,4 +63,4 @@ namespace branding
};
}
//REGISTER_COMPONENT(branding::component)
REGISTER_COMPONENT(branding::component)

View File

@ -221,4 +221,4 @@ namespace scheduler
};
}
//REGISTER_COMPONENT(scheduler::component)
REGISTER_COMPONENT(scheduler::component)

View File

@ -40,10 +40,10 @@ namespace game
{
if (environment::is_sp())
{
return sp_object_;
return reinterpret_cast<T*>((uint64_t)sp_object_ + base_address);
}
return mp_object_;
return reinterpret_cast<T*>((uint64_t)mp_object_ + base_address);
}
operator T* () const