- GCC warning fixes (GCC stupidity for the most part.)
SVN r3154 (trunk)
This commit is contained in:
parent
1ea5cc8bd8
commit
1993e969b7
38 changed files with 152 additions and 119 deletions
|
|
@ -5540,7 +5540,7 @@ FDropItem *AActor::GetDropItems()
|
|||
{
|
||||
unsigned int index = GetClass()->Meta.GetMetaInt (ACMETA_DropItems) - 1;
|
||||
|
||||
if (index >= 0 && index < DropItemList.Size())
|
||||
if (index < DropItemList.Size())
|
||||
{
|
||||
return DropItemList[index];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue