mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
some format adjustment .
This commit is contained in:
parent
475d62a5aa
commit
79856fabd8
2 changed files with 12 additions and 5 deletions
|
@ -3326,7 +3326,9 @@ void CLoading::LoadOverlayGraphic(const CString& lpOvrlName_, int iOvrlNum)
|
|||
|
||||
int i;
|
||||
int maxPics = head.c_images;
|
||||
if (maxPics > max_ovrl_img) maxPics = max_ovrl_img;
|
||||
if (maxPics > max_ovrl_img) {
|
||||
maxPics = max_ovrl_img;
|
||||
}
|
||||
|
||||
|
||||
// create an array of pointers to directdraw surfaces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue