nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] Fix for snowballs2 animation.cpp


From: Sebastian
Subject: [Nel] Fix for snowballs2 animation.cpp
Date: Thu, 18 Nov 2004 21:19:31 -0700

Animations weren't working for snowballs2, and left-clicking
(throwing) caused the game to crash with this error:

----------------------------------------------------------------------------
snowballs.exe AST  2704 animation.cpp 189 : "!entity.Instance.empty()
&& !entity.Skeleton.empty() && AnimationSet != NULL"
----------------------------------------------------------------------------

I tracked this down to a typo on line 165 in animation.cpp:
---------------------------------------------------------------------------
if (!entity.Skeleton.empty())
return;
---------------------------------------------------------------------------
should be:
---------------------------------------------------------------------------
if (entity.Skeleton.empty())
return;
--------------------------------------------------------------------------

This fix allowed animations to work in snowballs2.  Now the game runs
perfectly for me.

-Sebastian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]