Parent Directory | Revision Log | 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) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |