/[eliot]/eliot/game/ai_percent.cpp
ViewVC logotype

Diff of /eliot/game/ai_percent.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by ipkiss, Fri Nov 4 20:00:06 2005 UTC revision 1.4 by ipkiss, Sun Nov 6 17:13:45 2005 UTC
# Line 26  Line 26 
26  #include "ai_percent.h"  #include "ai_percent.h"
27    
28    
29  AIPercent::AIPercent(float iPercent)  AIPercent::AIPercent(int iId, float iPercent)
30      : m_percent(iPercent)      : AIPlayer(iId), m_percent(iPercent)
31  {  {
32      // Ensure the decimal value of the percentage is between 0 and 1      // Ensure the decimal value of the percentage is between 0 and 1
33      if (m_percent < 0)      if (m_percent < 0)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26