[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:
Schmoozerd 2012-01-24 23:13:53 +01:00
parent d8466dc392
commit 5506b22b38
2 changed files with 2 additions and 2 deletions

View file

@ -1135,7 +1135,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
<< data.curhealth << "," //curhealth << data.curhealth << "," //curhealth
<< data.curmana << "," //curmana << data.curmana << "," //curmana
<< (data.is_dead ? 1 : 0) << "," //is_dead << (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()); WorldDatabase.PExecuteLog("%s", ss.str().c_str());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11883" #define REVISION_NR "11884"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__