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:
parent
85d0d49207
commit
0c3f3c67a9
@ -1,6 +1,6 @@
|
||||
#include "CEmptyAI.h"
|
||||
#include <iostream>
|
||||
void CEmptyAI::init(ICallback * CB)
|
||||
void CEmptyAI::init(CCallback * CB)
|
||||
{
|
||||
cb = CB;
|
||||
human=false;
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user