[7215] .gobject setphase now really work. By VladimirMangos.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-01 16:47:49 -06:00
parent 05c07aa74a
commit 5d490a1020
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -4486,10 +4486,8 @@ bool ChatHandler::HandleGOPhaseCommand(const char* args)
return false;
}
if (!*args)
return false;
uint32 phasemask = (uint32) atoi((char*)args);
char* phaseStr = strtok (NULL, " ");
uint32 phasemask = phaseStr? atoi(phaseStr) : 0;
if ( phasemask == 0 )
{
SendSysMessage(LANG_BAD_VALUE);
+1 -1
View File
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7214"
#define REVISION_NR "7215"
#endif // __REVISION_NR_H__