Loobinex / keeperfx-unofficial

KeeperFX - Unofficial release
60 stars 7 forks source link

Function 'creature_instance_is_available' does not work for Lightning and Drain, causing multiplayer crashes #72

Closed Loobinex closed 2 years ago

Loobinex commented 5 years ago

The function 'creature_instance_is_available' should return for each creature spell if the creature has learned it or not. However, for a for me unknown reason, it does not return 'true' for the Drain and Lightning spells.

As this function is used in if-statements related to 'set_players_packet_action', this could very well be the reason why multiplayer games crash as soon as the lightning and drain spells are used.