mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Callback naming fix.
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user