Simplify voxel rotation handling

# Conflicts:
#	source/build/include/mdsprite.h
This commit is contained in:
nukeykt 2019-09-30 15:35:33 +09:00 committed by Christoph Oelckers
parent c00ff59579
commit 61b4fae6e0
6 changed files with 14 additions and 21 deletions

View file

@ -1921,10 +1921,6 @@ static int32_t defsparser(scriptfile *script)
case T_ROTATE:
voxrotate[lastvoxid>>3] |= pow2char[lastvoxid&7];
#ifdef USE_OPENGL
if (voxmodels[lastvoxid])
voxmodels[lastvoxid]->rotate = 1;
#endif
break;
}
}