mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
Fixed issue with isAttacking and isFollowing on older protocols.
Some protocols don't send a cancel attack/follow packet to the client when a creature dies.
This commit is contained in:
@@ -1478,7 +1478,7 @@ void Game::setProtocolVersion(int version)
|
||||
enableFeature(Otc::GameNewFluids);
|
||||
enableFeature(Otc::GameMessageLevel);
|
||||
enableFeature(Otc::GamePlayerStateU16);
|
||||
enableFeature(Otc::GameNewOutfitProtocol);
|
||||
enableFeature(Otc::GameNewOutfitProtocol); // This might be 790 not 780
|
||||
}
|
||||
|
||||
if(version >= 790) {
|
||||
|
||||
Reference in New Issue
Block a user