[10388] Make spawntime arg really optional as before for .gobject add

This commit is contained in:
VladimirMangos 2010-08-20 22:11:07 +04:00
parent ddd0c4567b
commit 3f83acbf9d
2 changed files with 2 additions and 2 deletions

View file

@ -1057,7 +1057,7 @@ bool ChatHandler::HandleGameObjectAddCommand(char* args)
return false;
int32 spawntimeSecs;
if (!ExtractInt32(&args, spawntimeSecs))
if (!ExtractOptInt32(&args, spawntimeSecs, 0))
return false;
const GameObjectInfo *gInfo = ObjectMgr::GetGameObjectInfo(id);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10387"
#define REVISION_NR "10388"
#endif // __REVISION_NR_H__