Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 14
- void __usercall UpdateUnitSpeed(CUNIT *a1@<eax>)
- {
- CUNIT *v1; // eax
- char v2; // cl
- CUNIT *v3; // esi
- v3 = a1;
- v1 = (CUNIT *)unitsdat_Graphics[(unsigned __int16)a1->type];
- v2 = Flingy_MoveControl[(_DWORD)v1];
- if ( v2 && v2 != 1 )
- {
- sub_42D8C0(v3);
- }
- else
- {
- v3->flingy_speed = GetModifiedUnitSpeed(Flingy_TopSpeed[(_DWORD)v1], v3);
- v3->flingy_acceleration = getModifiedUnitAcceleration(v3);
- v3->flingy_TurnRadius = getModifiedUnitTurnRadius(v3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement