Show
Ignore:
Timestamp:
11/19/08 13:37:03 (17 years ago)
Author:
yumileroy
Message:

[svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead?.

Original author: w12x
Date: 2008-10-26 11:50:07-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/ArenaTeam.cpp

    r102 r111  
    721721        return; 
    722722    // to get points, a player has to participate in at least 30% of the matches 
    723     uint32 min_plays = ceil(stats.games * 0.3); 
     723    uint32 min_plays = (uint32)ceil(stats.games * 0.3); 
    724724    for(MemberList::iterator itr = members.begin(); itr !=  members.end(); ++itr) 
    725725    {