diff options
author | Simon Howard | 2007-06-16 16:02:58 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-16 16:02:58 +0000 |
commit | a9feab0830ecdf0b3e52e9339522918e3f12226f (patch) | |
tree | e2eb921859fba84c39215e6024071f30d0ca4158 /src/p_ceilng.c | |
parent | c447a5da8c8087d94867560764b59f03d0e70b1d (diff) | |
download | chocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.tar.gz chocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.tar.bz2 chocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.zip |
Shut up strict aliasing warnings
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 909
Diffstat (limited to 'src/p_ceilng.c')
-rw-r--r-- | src/p_ceilng.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/p_ceilng.c b/src/p_ceilng.c index 115d6389..58b9eb06 100644 --- a/src/p_ceilng.c +++ b/src/p_ceilng.c @@ -73,8 +73,7 @@ void T_MoveCeiling (ceiling_t* ceiling) case silentCrushAndRaise: break; default: - S_StartSound((mobj_t *)&ceiling->sector->soundorg, - sfx_stnmov); + S_StartSound(&ceiling->sector->soundorg, sfx_stnmov); // ? break; } @@ -89,8 +88,7 @@ void T_MoveCeiling (ceiling_t* ceiling) break; case silentCrushAndRaise: - S_StartSound((mobj_t *)&ceiling->sector->soundorg, - sfx_pstop); + S_StartSound(&ceiling->sector->soundorg, sfx_pstop); case fastCrushAndRaise: case crushAndRaise: ceiling->direction = -1; @@ -116,8 +114,7 @@ void T_MoveCeiling (ceiling_t* ceiling) { case silentCrushAndRaise: break; default: - S_StartSound((mobj_t *)&ceiling->sector->soundorg, - sfx_stnmov); + S_StartSound(&ceiling->sector->soundorg, sfx_stnmov); } } @@ -126,8 +123,7 @@ void T_MoveCeiling (ceiling_t* ceiling) switch(ceiling->type) { case silentCrushAndRaise: - S_StartSound((mobj_t *)&ceiling->sector->soundorg, - sfx_pstop); + S_StartSound(&ceiling->sector->soundorg, sfx_pstop); case crushAndRaise: ceiling->speed = CEILSPEED; case fastCrushAndRaise: |