CPlayer header, more CScriptPlatform, renaming

Former-commit-id: 5d9f7afa3b
This commit is contained in:
2022-09-19 00:19:46 -04:00
parent f6f1040fff
commit b32c6018e8
33 changed files with 674 additions and 63 deletions

View File

@@ -103,7 +103,7 @@ inline const T* TCastToConstPtr(const CEntity* p) {
}
template < typename T >
inline const T* TCastToConstPtr(const CEntity& p) {
return TCastToPtr< T >(const_cast< CEntity* >(&p));
return TCastToPtr< T >(const_cast< CEntity& >(p));
}
#endif