- 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:
parent
4a8ca6d134
commit
2ad91cc973
4 changed files with 10 additions and 5 deletions
|
|
@ -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--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue