mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-16 00:00:35 +02:00
Added safety checks for rendering, fixed crash in first level.
This commit is contained in:
@@ -622,8 +622,9 @@ int PASCAL WinMain ( HINSTANCE instance , HINSTANCE , char * command_line , int
|
||||
}
|
||||
}
|
||||
|
||||
ScreenHeight = 3072;
|
||||
|
||||
// jmarshall
|
||||
//ScreenHeight = 3072;
|
||||
// jmarshall end
|
||||
if (VisiblePage.Get_Height() == 480) {
|
||||
SeenBuff.Attach(&VisiblePage, 0, 40, 3072, 3072);
|
||||
HidPage.Attach(&HiddenPage, 0, 40, 3072, 3072);
|
||||
|
||||
Reference in New Issue
Block a user