mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10388] Make spawntime arg really optional as before for .gobject add
This commit is contained in:
parent
ddd0c4567b
commit
3f83acbf9d
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10387"
|
||||
#define REVISION_NR "10388"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue