mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-02 03:02:43 +02:00
Add Config to Miami to disable Wavy Water. Will render "non wavy" water instead.
This is a placeholder until the render code can be refactored to support >128 vert meshes
This commit is contained in:
@@ -213,6 +213,7 @@ enum Config {
|
||||
//# define GTA_SCENE_EDIT
|
||||
# define PC_MENU
|
||||
# define PC_WATER
|
||||
# define DISABLE_WAVY_WATER
|
||||
#elif defined GTA_XBOX
|
||||
#elif defined GTA_MOBILE
|
||||
# define MISSION_REPLAY
|
||||
|
@@ -818,6 +818,9 @@ _GetWaterDrawDist()
|
||||
inline float
|
||||
_GetWavyDrawDist()
|
||||
{
|
||||
#ifdef DISABLE_WAVY_WATER
|
||||
return 0.0;
|
||||
#endif
|
||||
if ( FindPlayerVehicle() && FindPlayerVehicle()->IsBoat() )
|
||||
return 120.0f;
|
||||
else
|
||||
|
Reference in New Issue
Block a user