Browse Source

fix typos (#3238)

pull/3242/head
qndel 4 years ago committed by GitHub
parent
commit
eba6d827bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/pack.h
  2. 4
      Source/player.cpp
  3. 18
      Source/stores.cpp

2
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)]

4
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. */

18
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();

Loading…
Cancel
Save