Changeset 177 for trunk/src/game/Level2.cpp
- Timestamp:
- 11/19/08 13:43:30 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Level2.cpp
r173 r177 861 861 dstslot = (uint8)atoi(pParam2); 862 862 863 if(srcslot==dstslot) 864 return true; 865 863 866 uint16 src = ((INVENTORY_SLOT_BAG_0 << 8) | srcslot); 864 867 uint16 dst = ((INVENTORY_SLOT_BAG_0 << 8) | dstslot); 865 868 866 if(srcslot==dstslot)867 return true;868 869 869 m_session->GetPlayer()->SwapItem( src, dst ); 870 870 … … 873 873 874 874 //add spawn of creature 875 bool ChatHandler::Handle AddSpwCommand(const char* args)875 bool ChatHandler::HandleNpcAddCommand(const char* args) 876 876 { 877 877 if(!*args) … … 923 923 } 924 924 925 bool ChatHandler::Handle DelCreatureCommand(const char* args)925 bool ChatHandler::HandleNpcDeleteCommand(const char* args) 926 926 { 927 927 Creature* unit = NULL; … … 1071 1071 1072 1072 //move selected creature 1073 bool ChatHandler::Handle MoveCreatureCommand(const char* args)1073 bool ChatHandler::HandleNpcMoveCommand(const char* args) 1074 1074 { 1075 1075 uint32 lowguid = 0; … … 1324 1324 1325 1325 //add move for creature 1326 bool ChatHandler::Handle AddMoveCommand(const char* args)1326 bool ChatHandler::HandleNpcAddMoveCommand(const char* args) 1327 1327 { 1328 1328 if(!*args) … … 1398 1398 * change the movement type 1399 1399 */ 1400 bool ChatHandler::Handle SetMoveTypeCommand(const char* args)1400 bool ChatHandler::HandleNpcSetMoveTypeCommand(const char* args) 1401 1401 { 1402 1402 if(!*args) … … 1526 1526 1527 1527 return true; 1528 } // Handle SetMoveTypeCommand1528 } // HandleNpcSetMoveTypeCommand 1529 1529 1530 1530 //change level of creature or pet … … 1566 1566 1567 1567 //set npcflag of creature 1568 bool ChatHandler::HandleN PCFlagCommand(const char* args)1568 bool ChatHandler::HandleNpcFlagCommand(const char* args) 1569 1569 { 1570 1570 if (!*args) … … 1592 1592 1593 1593 //set model of creature 1594 bool ChatHandler::Handle SetModelCommand(const char* args)1594 bool ChatHandler::HandleNpcSetModelCommand(const char* args) 1595 1595 { 1596 1596 if (!*args) … … 1633 1633 } 1634 1634 1635 //set faction of creature or go1636 bool ChatHandler::Handle FactionIdCommand(const char* args)1635 //set faction of creature 1636 bool ChatHandler::HandleNpcFactionIdCommand(const char* args) 1637 1637 { 1638 1638 if (!*args) … … 2139 2139 2140 2140 //set spawn dist of creature 2141 bool ChatHandler::Handle SpawnDistCommand(const char* args)2141 bool ChatHandler::HandleNpcSpawnDistCommand(const char* args) 2142 2142 { 2143 2143 if(!*args) … … 2177 2177 } 2178 2178 2179 bool ChatHandler::Handle SpawnTimeCommand(const char* args)2179 bool ChatHandler::HandleNpcSpawnTimeCommand(const char* args) 2180 2180 { 2181 2181 if(!*args)