* 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:
false_genesis 2008-04-30 21:02:50 +00:00
parent b5834846f0
commit ffb12014af
2 changed files with 3 additions and 2 deletions

View File

@ -26,13 +26,14 @@ if ?{equal,basic ?{lindex,args 0}}
endif
if ?{equal,list ?{lindex,args 0}}
== Help topics avalible: ?{llen reg_name}
out == Help topics avalible: ?{llen reg_name}
set,i 0
loop
if ?{bigger_eq,${i} ?{llen reg_name}}
exitloop
endif
out "help ?{lindex,reg_name ${i}}"
add,i 1
endloop
return
endif

View File

@ -1252,7 +1252,7 @@ void WorldSession::_HandleLoginVerifyWorldOpcode(WorldPacket& recvPacket)
// update the world as soon as the server confirmed that we are where we are.
_world->UpdatePos(x,y,m);
_world->Update();
_world->CreateMoveMgr();
//_world->CreateMoveMgr();
// temp. solution to test terrain rendering
if(PseuGUI *gui = GetInstance()->GetGUI())