mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 17:31:00 +00:00
Replace manual casts of sprite and wall pointers to vec2/3_t with use of the anonymous union
git-svn-id: https://svn.eduke32.com/eduke32@7697 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/build.cpp # source/build/src/polymost.cpp
This commit is contained in:
parent
8141fbd692
commit
02ef02872a
11 changed files with 130 additions and 120 deletions
|
@ -6035,7 +6035,7 @@ void polymost_drawsprite(int32_t snum)
|
|||
break;
|
||||
}
|
||||
|
||||
vec2_t pos = *(vec2_t *)tspr;
|
||||
vec2_t pos = tspr->pos_as_vec2;
|
||||
|
||||
if (spriteext[spritenum].flags & SPREXT_AWAY1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue