X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=r_explosion.c;h=104a9753d477f19f53447632a4bc6610167b207b;hb=d192fabc74fe10ad9f173418e765b189278a1075;hp=11455498a4cedff2d97891ae0a9c330d3e6f1b2c;hpb=7d91a4c10a6acfb3968d023355612425812d9f8e;p=xonotic%2Fdarkplaces.git diff --git a/r_explosion.c b/r_explosion.c index 11455498..104a9753 100644 --- a/r_explosion.c +++ b/r_explosion.c @@ -43,7 +43,7 @@ typedef struct explosion_s vec3_t origin; vec3_t vert[EXPLOSIONVERTS]; vec3_t vertvel[EXPLOSIONVERTS]; - qboolean clipping; + qbool clipping; } explosion_t; @@ -55,11 +55,11 @@ static rtexture_t *explosiontexture; static rtexturepool_t *explosiontexturepool; #endif -cvar_t r_explosionclip = {CVAR_SAVE, "r_explosionclip", "1", "enables collision detection for explosion shell (so that it flattens against walls and floors)"}; +cvar_t r_explosionclip = {CF_CLIENT | CF_ARCHIVE, "r_explosionclip", "1", "enables collision detection for explosion shell (so that it flattens against walls and floors)"}; #ifdef MAX_EXPLOSIONS -static cvar_t r_drawexplosions = {0, "r_drawexplosions", "1", "enables rendering of explosion shells (see also cl_particles_explosions_shell)"}; +static cvar_t r_drawexplosions = {CF_CLIENT, "r_drawexplosions", "1", "enables rendering of explosion shells (see also cl_particles_explosions_shell)"}; -//extern qboolean r_loadfog; +//extern qbool r_loadfog; static void r_explosion_start(void) { int x, y;