mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8960] fix crash introduced with 8805
or actualy i didn't introduce a new crash there.. the old crash just changed a bit.. after we force the player to logout without valid mapcoords the player wasn't in world anymore and through that Getplayer()->GetMap()->RemoveFromWorld() caused a crash.. i changed now the error handling inside farteleport there.. instead of forcing a logout without saving, i just port him to his homebind which will be much nicer (minor cleanup with the other homebind teleportation.. we don't need to check for the error there.. homebind realy should be a valid coord)
This commit is contained in:
parent
39c16a8510
commit
ba835f1d30
2 changed files with 9 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8959"
|
||||
#define REVISION_NR "8960"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue