* temp. fixed compile error (accidently added unfinished stuff in prev. commit), thx JPhix
* fixed endless loop when using cmd "help list"
This commit is contained in:
parent
b5834846f0
commit
ffb12014af
@ -26,13 +26,14 @@ if ?{equal,basic ?{lindex,args 0}}
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if ?{equal,list ?{lindex,args 0}}
|
if ?{equal,list ?{lindex,args 0}}
|
||||||
== Help topics avalible: ?{llen reg_name}
|
out == Help topics avalible: ?{llen reg_name}
|
||||||
set,i 0
|
set,i 0
|
||||||
loop
|
loop
|
||||||
if ?{bigger_eq,${i} ?{llen reg_name}}
|
if ?{bigger_eq,${i} ?{llen reg_name}}
|
||||||
exitloop
|
exitloop
|
||||||
endif
|
endif
|
||||||
out "help ?{lindex,reg_name ${i}}"
|
out "help ?{lindex,reg_name ${i}}"
|
||||||
|
add,i 1
|
||||||
endloop
|
endloop
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1252,7 +1252,7 @@ void WorldSession::_HandleLoginVerifyWorldOpcode(WorldPacket& recvPacket)
|
|||||||
// update the world as soon as the server confirmed that we are where we are.
|
// update the world as soon as the server confirmed that we are where we are.
|
||||||
_world->UpdatePos(x,y,m);
|
_world->UpdatePos(x,y,m);
|
||||||
_world->Update();
|
_world->Update();
|
||||||
_world->CreateMoveMgr();
|
//_world->CreateMoveMgr();
|
||||||
|
|
||||||
// temp. solution to test terrain rendering
|
// temp. solution to test terrain rendering
|
||||||
if(PseuGUI *gui = GetInstance()->GetGUI())
|
if(PseuGUI *gui = GetInstance()->GetGUI())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user