equal
deleted
inserted
replaced
362 |
362 |
363 if not cOnlyStats then |
363 if not cOnlyStats then |
364 begin |
364 begin |
365 MakeCrossHairs; |
365 MakeCrossHairs; |
366 LoadGraves; |
366 LoadGraves; |
|
367 tmpHatSurf:= LoadDataImage(ptHats, 'Reserved/chef', ifNone); |
|
368 ChefHatTexture:= Surface2Tex(tmpHatSurf, true); |
|
369 freeTmpHatSurf(); |
367 end; |
370 end; |
368 |
371 |
369 if not reload then |
372 if not reload then |
370 AddProgress; |
373 AddProgress; |
371 |
374 |
505 end |
508 end |
506 end; |
509 end; |
507 SDL_FreeSurface(MissionIcons); |
510 SDL_FreeSurface(MissionIcons); |
508 |
511 |
509 // free the textures declared in uVariables |
512 // free the textures declared in uVariables |
|
513 FreeAndNilTexture(ChefHatTexture); |
510 FreeAndNilTexture(CrosshairTexture); |
514 FreeAndNilTexture(CrosshairTexture); |
511 FreeAndNilTexture(WeaponTooltipTex); |
515 FreeAndNilTexture(WeaponTooltipTex); |
512 FreeAndNilTexture(PauseTexture); |
516 FreeAndNilTexture(PauseTexture); |
513 FreeAndNilTexture(AFKTexture); |
517 FreeAndNilTexture(AFKTexture); |
514 FreeAndNilTexture(SyncTexture); |
518 FreeAndNilTexture(SyncTexture); |