diff --git a/Sources/Entities/Player.es b/Sources/Entities/Player.es index 4f55061..d02be99 100644 --- a/Sources/Entities/Player.es +++ b/Sources/Entities/Player.es @@ -2238,7 +2238,7 @@ functions: void RenderGameView(CDrawPort *pdp, void *pvUserData) { - BOOL bShowExtras = (ULONG(pvUserData)&GRV_SHOWEXTRAS); + BOOL bShowExtras = (size_t(pvUserData)&GRV_SHOWEXTRAS); // if not yet initialized if(!(m_ulFlags&PLF_INITIALIZED) || (m_ulFlags&PLF_DONTRENDER)) {