We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88aa811 commit 5d3320eCopy full SHA for 5d3320e
src/xrEngine/pure_relcase.h
@@ -10,7 +10,7 @@ class ENGINE_API pure_relcase
10
pure_relcase(void (xr_stdcall class_type::* function_to_bind)(CObject*))
11
{
12
R_ASSERT(g_pGameLevel);
13
- class_type* self = reinterpret_cast<class_type*>(this);
+ class_type* self = static_cast<class_type*>(this);
14
g_pGameLevel->Objects.relcase_register(
15
CObjectList::RELCASE_CALLBACK(
16
self,
0 commit comments