moved MD2/MDC tables from BSS to const data

Visual C++ is unable to identify them as constant data during optimization, so explicitly declare them const.
This commit is contained in:
Krishty
2021-04-17 00:32:04 +02:00
parent cd42b9954b
commit a19299d501
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define AI_MDL_NORMALTABLE_H_INC
float g_avNormals[162][3] = {
const float g_avNormals[162][3] = {
{ -0.525731f, 0.000000f, 0.850651f },
{ -0.442863f, 0.238856f, 0.864188f },
{ -0.295242f, 0.000000f, 0.955423f },