mirror of
https://github.com/halpz/re3.git
synced 2025-07-29 18:40:22 +00:00
CGame done, Peds, fixes
This commit is contained in:
@ -2044,7 +2044,11 @@ CCamera::GetScreenRect(CRect &rect)
|
||||
{
|
||||
rect.left = 0.0f;
|
||||
rect.right = SCREEN_WIDTH;
|
||||
if(m_WideScreenOn){
|
||||
if(m_WideScreenOn
|
||||
#ifdef CUTSCENE_BORDERS_SWITCH
|
||||
&& CMenuManager::m_PrefsCutsceneBorders
|
||||
#endif
|
||||
){
|
||||
float borderSize = (SCREEN_HEIGHT / 2) * (m_ScreenReductionPercentage / 100.f);
|
||||
rect.top = borderSize - SCREEN_SCALE_Y(22.f);
|
||||
rect.bottom = SCREEN_HEIGHT - borderSize - SCREEN_SCALE_Y(14.f);
|
||||
|
Reference in New Issue
Block a user