summaryrefslogtreecommitdiff
path: root/common/object.cpp
diff options
context:
space:
mode:
authorleo2000-11-15 01:52:44 +0000
committerleo2000-11-15 01:52:44 +0000
commit09746a951bb47ab3813f2fda9cf48444aca372b9 (patch)
treee4b94ea4858559d07efc0fdf8bc45018f995d52a /common/object.cpp
parentec77f06c40c9e0986e82096105bd9f90d0c4a46b (diff)
fix VC++ warnings/errors
git-svn-id: http://svn.leocad.org/trunk@163 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/object.cpp')
-rwxr-xr-xcommon/object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/object.cpp b/common/object.cpp
index 1dd8d44..f62239b 100755
--- a/common/object.cpp
+++ b/common/object.cpp
@@ -242,7 +242,8 @@ void Object::ChangeKey (unsigned short nTime, bool bAnimation, bool bAddKey, con
void Object::CalculateKeys (unsigned short nTime, bool bAnimation)
{
- LC_OBJECT_KEY *next[m_nKeyInfoCount], *prev[m_nKeyInfoCount], *node;
+// LC_OBJECT_KEY *next[m_nKeyInfoCount], *prev[m_nKeyInfoCount], *node;
+ LC_OBJECT_KEY *next[32], *prev[32], *node;
int i, empty = m_nKeyInfoCount;
for (i = 0; i < m_nKeyInfoCount; i++)