- Added a missing NULL pointer check to APlayerPawn::Tick.

- Fixed: The falling scream should not be played when the player is under
  water.


SVN r120 (trunk)
This commit is contained in:
Christoph Oelckers 2006-05-16 17:53:15 +00:00
commit 2ad91cc973
4 changed files with 10 additions and 5 deletions

View file

@ -130,7 +130,7 @@ public:
if (index < Count)
{
Array[index].~T();
memmove (&Array[index], &Array[index+1], Count - index - 1);
memmove (&Array[index], &Array[index+1], sizeof(T)*(Count - index - 1));
Count--;
}
}