diff --git a/Source/pack.h b/Source/pack.h index b76eefd78..a2e187392 100644 --- a/Source/pack.h +++ b/Source/pack.h @@ -84,7 +84,7 @@ bool UnPackPlayer(const PlayerPack *pPack, Player &player, bool netSync); void PackItem(ItemPack *id, const Item *is); /** - * Expand a ItemPack in to a Item + * Expand an ItemPack into an Item * * Note: last slot of item[MAXITEMS+1] used as temporary buffer * find real name reference below, possibly [sizeof(item[])/sizeof(Item)] diff --git a/Source/player.cpp b/Source/player.cpp index 3cc0a94c5..4d4acacb1 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -44,9 +44,9 @@ int deathdelay; int plrxoff[9] = { 0, 2, 0, 2, 1, 0, 1, 2, 1 }; /** Specifies the Y-coordinate delta from the player start location in Tristram. */ int plryoff[9] = { 0, 2, 2, 0, 1, 1, 0, 1, 2 }; -/** Specifies the X-coordinate delta from a player, used for instanced when casting resurrect. */ +/** Specifies the X-coordinate delta from a player, used for instance when casting resurrect. */ int plrxoff2[9] = { 0, 1, 0, 1, 2, 0, 1, 2, 2 }; -/** Specifies the Y-coordinate delta from a player, used for instanced when casting resurrect. */ +/** Specifies the Y-coordinate delta from a player, used for instance when casting resurrect. */ int plryoff2[9] = { 0, 0, 1, 1, 0, 2, 2, 1, 2 }; /** Maps from player_class to starting stat in strength. */ diff --git a/Source/stores.cpp b/Source/stores.cpp index 3af56ad73..b2fad8fc0 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -51,7 +51,7 @@ namespace { /** The current towner being interacted with */ _talker_id talker; -/** Is the curren dialog full size */ +/** Is the current dialog full size */ bool stextsize; /** Number of text lines in the current dialog */ @@ -1322,7 +1322,7 @@ void SmithBuyItem() CalcPlrInv(myPlayer, true); } -void SmitBuyEnter() +void SmithBuyEnter() { if (stextsel == 22) { StartStore(STORE_SMITH); @@ -1382,7 +1382,7 @@ void SmithBuyPItem() SpawnPremium(MyPlayerId); } -void SmitPremiumBuyEnter() +void SmithPremiumBuyEnter() { if (stextsel == 22) { StartStore(STORE_SMITH); @@ -1527,7 +1527,7 @@ void StoreSellItem() } } -void SmitSellEnter() +void SmithSellEnter() { if (stextsel == 22) { StartStore(STORE_SMITH); @@ -1576,7 +1576,7 @@ void SmithRepairItem() myPlayer.InvList[i]._iDurability = myPlayer.InvList[i]._iMaxDur; } -void SmitRepairEnter() +void SmithRepairEnter() { if (stextsel == 22) { StartStore(STORE_SMITH); @@ -2669,16 +2669,16 @@ void StoreEnter() SmithEnter(); break; case STORE_SPBUY: - SmitPremiumBuyEnter(); + SmithPremiumBuyEnter(); break; case STORE_SBUY: - SmitBuyEnter(); + SmithBuyEnter(); break; case STORE_SSELL: - SmitSellEnter(); + SmithSellEnter(); break; case STORE_SREPAIR: - SmitRepairEnter(); + SmithRepairEnter(); break; case STORE_WITCH: WitchEnter();