Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(SquareRadar && !RadarIsSquare)
- {
- RADAR_fCirc = 0;
- patch(0x585721, 0.5, 4);
- patch(0x585729, 0.5, 4);
- patch(0x585731, 0.5, 4);
- patch(0x585739, 0.5, 4);
- patch(0x585719, -0.5, 4);
- patch(0x585741, -0.5, 4);
- patch(0x585749, -0.5, 4);
- patch(0x585751, -0.5, 4);
- patch(0x58A81F, &HudTextures[TEXTURE_RadarSquare], 4);
- patch(0x58A8C9, &HudTextures[TEXTURE_RadarSquare], 4);
- patch(0x58A973, &HudTextures[TEXTURE_RadarSquare], 4);
- patch(0x58AA21, &HudTextures[TEXTURE_RadarSquare], 4);
- patch(0x588162, (DWORD)&BoundRadarIconPos - 0x588166, 4);
- patch(0x587222, (DWORD)&BoundRadarIconPos - 0x587226, 4);
- patch(0x587605, (DWORD)&BoundRadarIconPos - 0x587609, 4);
- patch(0x587990, (DWORD)&BoundRadarIconPos - 0x587994, 4);
- patch(0x586E98, (DWORD)&BoundRadarIconPos - 0x586E9C, 4);
- patch(0x58585C, &RADAR_fCirc, 4);
- }
- else if(!SquareRadar && RadarIsSquare)
- {
- RADAR_fCirc = (float)0.2617994;
- patch(0x585721, 1.0, 4);
- patch(0x585729, 1.0, 4);
- patch(0x585731, 1.0, 4);
- patch(0x585739, 1.0, 4);
- patch(0x585719, (DWORD)-1.0, 4);
- patch(0x585741, (DWORD)-1.0, 4);
- patch(0x585749, (DWORD)-1.0, 4);
- patch(0x585751, (DWORD)-1.0, 4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement