Skip to content

Commit

Permalink
Revert 8214988 (xrEngine/pure_relcase.h: static_cast -> reinterpret_c…
Browse files Browse the repository at this point in the history
…ast).
  • Loading branch information
nitrocaster committed Nov 12, 2015
1 parent 88aa811 commit 5d3320e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/pure_relcase.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ENGINE_API pure_relcase
pure_relcase(void (xr_stdcall class_type::* function_to_bind)(CObject*))
{
R_ASSERT(g_pGameLevel);
class_type* self = reinterpret_cast<class_type*>(this);
class_type* self = static_cast<class_type*>(this);
g_pGameLevel->Objects.relcase_register(
CObjectList::RELCASE_CALLBACK(
self,
Expand Down

0 comments on commit 5d3320e

Please sign in to comment.