Permalink
Browse files

Merge pull request #6442 from MacWarrior/master

Fix creature's save
  • Loading branch information...
2 parents a8a5b5a + 58b05da commit ff006ba49f20de1d5485b7108963229a3786ac0d @Star-lion Star-lion committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/game/Entities/Creature/Creature.cpp
@@ -1128,7 +1128,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
stmt->setUInt8(index++, uint8(GetDefaultMovementType()));
stmt->setUInt32(index++, npcflag);
stmt->setUInt32(index++, unit_flags);
- stmt->setUInt32(index, dynamicflags);
+ stmt->setUInt32(index++, dynamicflags);
trans->Append(stmt);
WorldDatabase.CommitTransaction(trans);

0 comments on commit ff006ba

Please sign in to comment.