mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7215] .gobject setphase now really work.
This commit is contained in:
parent
4602ff9c21
commit
ed59d22dec
2 changed files with 3 additions and 5 deletions
|
|
@ -4292,10 +4292,8 @@ bool ChatHandler::HandleGOPhaseCommand(const char* args)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!*args)
|
char* phaseStr = strtok (NULL, " ");
|
||||||
return false;
|
uint32 phasemask = phaseStr? atoi(phaseStr) : 0;
|
||||||
|
|
||||||
uint32 phasemask = (uint32) atoi((char*)args);
|
|
||||||
if ( phasemask == 0 )
|
if ( phasemask == 0 )
|
||||||
{
|
{
|
||||||
SendSysMessage(LANG_BAD_VALUE);
|
SendSysMessage(LANG_BAD_VALUE);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7214"
|
#define REVISION_NR "7215"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue