Changeset 3638

Show
Ignore:
Timestamp:
2008-08-19 20:59:24 (3 months ago)
Author:
caedesv
Message:

fixed some bogus loops in changeproperty reward.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cel/trunk/plugins/tools/quests/reward_changeproperty.cpp

    r3564 r3638  
    485485  iCelEntity *ent; 
    486486  iCelPropertyClass *pclass; 
    487   for (size_t i = entlist->GetCount()-1; i>=0; i--) 
     487  for (int i = (int)entlist->GetCount()-1; i>=0; i--) 
    488488  { 
    489489    ent = entlist->Get(i); 
     
    501501  iCelEntity *ent; 
    502502  csRef<iPcProperties> properties; 
    503   for (size_t i = entlist->GetCount()-1; i>=0; i--) 
     503  for (int i = (int)entlist->GetCount()-1; i>=0; i--) 
    504504  { 
    505505    ent = entlist->Get(i);