Mercurial > mm7
comparison Items.cpp @ 1358:61010a655c94
a few itemID changed to their enum values + added a few new ones
author | Grumpy7 |
---|---|
date | Sat, 13 Jul 2013 16:52:00 +0200 |
parents | 5450af4f57ef |
children | 7ef4b64f6329 |
comparison
equal
deleted
inserted
replaced
1357:06926081358f | 1358:61010a655c94 |
---|---|
1479 { | 1479 { |
1480 sprintf(item__getname_buffer.data(), "%s", pItemsTable->pItems[uItemID].pName); | 1480 sprintf(item__getname_buffer.data(), "%s", pItemsTable->pItems[uItemID].pName); |
1481 return item__getname_buffer.data(); | 1481 return item__getname_buffer.data(); |
1482 } | 1482 } |
1483 sprintf(item__getname_buffer.data(), "%s", pItemsTable->pItems[uItemID].pName); | 1483 sprintf(item__getname_buffer.data(), "%s", pItemsTable->pItems[uItemID].pName); |
1484 if ( uItemID == ITEM_LICH_JAR ) //Lich Jar | 1484 if ( uItemID == ITEM_LICH_JAR_FULL ) //Lich Jar |
1485 { | 1485 { |
1486 if ( (uHolderPlayer >0 )&& (uHolderPlayer <= 4) ) | 1486 if ( (uHolderPlayer >0 )&& (uHolderPlayer <= 4) ) |
1487 { | 1487 { |
1488 player_name = pPlayers[uHolderPlayer]->pName; | 1488 player_name = pPlayers[uHolderPlayer]->pName; |
1489 strlen(player_name); | 1489 strlen(player_name); |