mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10431] Correcting issues with flying creatures falling to ground at death.
Simplified the way FallGround works and death states are set in a more logical way when a mob is in fact DEAD_FALLING. Visual will in some cases not be correct. Notes in code for details. Thanks to Lynx fixing Map::GetHeight It now return mapHeight as last resort, making FallGround work as expected. This fix reveal one (known) bug, and therefore a temp hack is added in TargetedMovegen, to be sure Z is not the ground Z for a creature that are able to fly. Other creatures will follow by the ground level Z (in other words, they will no longer follow in the air).
This commit is contained in:
parent
7df3f06d87
commit
32e3e252fb
6 changed files with 57 additions and 28 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10430"
|
||||
#define REVISION_NR "10431"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue