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:
terminx 2019-06-25 11:28:25 +00:00 committed by Christoph Oelckers
parent 8141fbd692
commit 02ef02872a
11 changed files with 130 additions and 120 deletions

View file

@ -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)
{