mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Mostly done combined artifacts.
[assembling, disassembling, moving, picking]
This commit is contained in:
@@ -186,16 +186,12 @@ void MoveArtifact::applyCl( CClient *cl )
|
||||
|
||||
void AssembledArtifact::applyCl( CClient *cl )
|
||||
{
|
||||
// INTERFACE_CALL_IF_PRESENT(src.hero->tempOwner, artifactMoved, src, dst);
|
||||
// if(src.hero->tempOwner != dst.hero->tempOwner)
|
||||
// INTERFACE_CALL_IF_PRESENT(src.hero->tempOwner, artifactMoved, src, dst);
|
||||
INTERFACE_CALL_IF_PRESENT(al.hero->tempOwner, artifactAssembled, al);
|
||||
}
|
||||
|
||||
void DisassembledArtifact::applyCl( CClient *cl )
|
||||
{
|
||||
// INTERFACE_CALL_IF_PRESENT(src.hero->tempOwner, artifactMoved, src, dst);
|
||||
// if(src.hero->tempOwner != dst.hero->tempOwner)
|
||||
// INTERFACE_CALL_IF_PRESENT(src.hero->tempOwner, artifactMoved, src, dst);
|
||||
INTERFACE_CALL_IF_PRESENT(al.hero->tempOwner, artifactDisassembled, al);
|
||||
}
|
||||
|
||||
void GiveBonus::applyCl( CClient *cl )
|
||||
|
||||
Reference in New Issue
Block a user