1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Callback naming fix.

This commit is contained in:
Frank Zago 2011-05-04 02:32:35 +00:00
parent 85d0d49207
commit 0c3f3c67a9
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include "CEmptyAI.h"
#include <iostream>
void CEmptyAI::init(ICallback * CB)
void CEmptyAI::init(CCallback * CB)
{
cb = CB;
human=false;

View File

@ -5,9 +5,10 @@ struct HeroMoveDetails;
class CEmptyAI : public CGlobalAI
{
ICallback * cb;
CCallback *cb;
public:
void init(ICallback * CB);
void init(CCallback * CB);
void yourTurn();
void heroKilled(const CGHeroInstance *);
void heroCreated(const CGHeroInstance *);