diff options
| author | Andrey Nazarov <skuller@skuller.net> | 2008-02-17 22:53:39 +0000 |
|---|---|---|
| committer | Andrey Nazarov <skuller@skuller.net> | 2008-02-17 22:53:39 +0000 |
| commit | 4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (patch) | |
| tree | d48be98832d2d9cb977540541fae1acb1859142b /source/cl_fx.c | |
| parent | a5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (diff) | |
Huge search and replace commit.
Use fixed size integer types from stdint.h instead of custom defined ones.
Get endianess infromation form endian.h.
Added `remotemode' console command.
Link with -ldl only on Linux.
Diffstat (limited to 'source/cl_fx.c')
| -rw-r--r-- | source/cl_fx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_fx.c b/source/cl_fx.c index 9b91be0..2723964 100644 --- a/source/cl_fx.c +++ b/source/cl_fx.c @@ -1751,7 +1751,7 @@ void CL_RailTrail( vec3_t start, vec3_t end ) { p->alpha = cl_railtrail_alpha->value; p->alphavel = -1.0 / ( cl_railtrail_time->value + frand() * 0.2 ); p->color = 0xff; - *( uint32 * )p->rgb = *( uint32 * )color; + *( uint32_t * )p->rgb = *( uint32_t * )color; for( j=0 ; j<3 ; j++ ) { p->org[j] = move[j] + dir[j] * cl_railspiral_radius->value; p->vel[j] = dir[j] * 6; @@ -2313,7 +2313,7 @@ void CL_AddParticles (void) part->origin[2] = p->org[2] + p->vel[2]*time + p->accel[2]*time2; if( color == 255 ) { - *( uint32 * )part->rgb = *( uint32 * )p->rgb; + *( uint32_t * )part->rgb = *( uint32_t * )p->rgb; } part->color = color; |
