diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-12-31 03:29:44 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-01-01 04:39:17 +0100 |
| commit | 52ce9493325ec6cdfa82029f86016170350ca647 (patch) | |
| tree | e69310ba82b38080e9f6f861b1082c9cf34635c7 | |
| parent | 3aadb2ca6101822d2af793beff1a781bd035af6e (diff) | |
Remove unneeded const-casts
| -rw-r--r-- | Source/GameGui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/GameGui.c b/Source/GameGui.c index 4f3fe1f..ba3d78c 100644 --- a/Source/GameGui.c +++ b/Source/GameGui.c @@ -362,7 +362,7 @@ bool GameGuiPauseDialog(const TYPE_PLAYER* const ptrPlayer) GfxSortSprite(&SecondDisplay); - GsSortGPoly4((GsGPoly4*)&PauseRect); + GsSortGPoly4(&PauseRect); GfxDrawScene_Slow(); @@ -1180,7 +1180,7 @@ bool GameGuiFinishedDialog(TYPE_PLAYER* const ptrPlayer) GfxSortSprite(&SecondDisplay); - GsSortGPoly4((GsGPoly4*)&PauseRect); + GsSortGPoly4(&PauseRect); FontPrintText( &SmallFont, AIRCRAFT_DATA_GSGPOLY4_X0 + @@ -1220,7 +1220,7 @@ void GameGuiAircraftCollision(TYPE_PLAYER* const ptrPlayer) { GfxSortSprite(&SecondDisplay); - GsSortGPoly4((GsGPoly4*)&PauseRect); + GsSortGPoly4(&PauseRect); FontPrintText( &SmallFont, AIRCRAFT_DATA_GSGPOLY4_X0 + 8, |
