mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[11884] Fix missing cast from changes of 11880
Thanks to Rog360 for pointing Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
d8466dc392
commit
5506b22b38
2 changed files with 2 additions and 2 deletions
|
|
@ -1135,7 +1135,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
|
|||
<< data.curhealth << "," //curhealth
|
||||
<< data.curmana << "," //curmana
|
||||
<< (data.is_dead ? 1 : 0) << "," //is_dead
|
||||
<< data.movementType << ")"; //default movement generator type
|
||||
<< uint32(data.movementType) << ")"; //default movement generator type, cast to prevent save as symbol
|
||||
|
||||
WorldDatabase.PExecuteLog("%s", ss.str().c_str());
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11883"
|
||||
#define REVISION_NR "11884"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue