[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/ai_percent.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/ai_percent.cpp |
Date: |
Sun, 06 Nov 2005 12:13:46 -0500 |
Index: eliot/game/ai_percent.cpp
diff -u eliot/game/ai_percent.cpp:1.3 eliot/game/ai_percent.cpp:1.4
--- eliot/game/ai_percent.cpp:1.3 Fri Nov 4 20:00:06 2005
+++ eliot/game/ai_percent.cpp Sun Nov 6 17:13:45 2005
@@ -26,8 +26,8 @@
#include "ai_percent.h"
-AIPercent::AIPercent(float iPercent)
- : m_percent(iPercent)
+AIPercent::AIPercent(int iId, float iPercent)
+ : AIPlayer(iId), m_percent(iPercent)
{
// Ensure the decimal value of the percentage is between 0 and 1
if (m_percent < 0)