Skip to content

Commit

Permalink
jk2 style fx_rain defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
TwelveEyes committed Jun 23, 2024
1 parent 15c6052 commit 7b90669
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/game/g_fx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,13 @@ void fx_rain_think( gentity_t *ent )

void SP_CreateRain( gentity_t *ent )
{
if ( ent->spawnflags == 0 )
{//JK2 style defaults
G_FindConfigstringIndex("lightrain", CS_WORLD_FX, MAX_WORLD_FX, qtrue);
G_FindConfigstringIndex("wind", CS_WORLD_FX, MAX_WORLD_FX, qtrue);
return;
}

// Different Types Of Rain
//-------------------------
if (ent->spawnflags & 1)
Expand Down

0 comments on commit 7b90669

Please sign in to comment.