mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Remove pointless cast
Before this change, API.vp[5] was cast to a pilot pointer and then cast to a char pointer immediately afterwards. Nothing gets done to API.vp[5] while it’s a pilot pointer, so we can remove the pilot pointer cast without changing any behavior.
This commit is contained in:
parent
b25977c3d7
commit
72852bce3d
@ -286,7 +286,7 @@ DLLTracker_id = (char *)API.vp[1];
|
||||
DLLGame_is_master_tracker_game = API.vp[2];
|
||||
DLLGame_mode = *API.vp[3];
|
||||
// DLLCurrent_pilot = (pilot *)API.vp[4];
|
||||
DLLLocalD3Dir = (char *)(pilot *)API.vp[5];
|
||||
DLLLocalD3Dir = (char *)API.vp[5];
|
||||
DLLMultiGameStarting = (int *)API.vp[6];
|
||||
DLLMTPilotinfo = (vmt_descent3_struct *)API.vp[7];
|
||||
DLLNum_network_games_known = API.vp[8];
|
||||
|
Loading…
Reference in New Issue
Block a user