[7215] .gobject setphase now really work. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
+2
-4
@@ -4486,10 +4486,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__
|
||||||
|
|||||||
Reference in New Issue
Block a user