Browse Source

rename upper->uper

pull/1773/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
0af36dc416
  1. 4
      Source/items.cpp

4
Source/items.cpp

@ -2594,13 +2594,13 @@ void SpawnItem(int m, int x, int y, bool sendmsg)
int ii = AllocateItem();
GetSuperItemSpace(x, y, ii);
int upper = monster[m]._uniqtype ? 15 : 1;
int uper = monster[m]._uniqtype ? 15 : 1;
int mLevel = monster[m].MData->mLevel;
if (!gbIsHellfire && monster[m].MType->mtype == MT_DIABLO)
mLevel -= 15;
SetupAllItems(ii, idx, AdvanceRndSeed(), mLevel, upper, onlygood, false, false);
SetupAllItems(ii, idx, AdvanceRndSeed(), mLevel, uper, onlygood, false, false);
if (sendmsg)
NetSendCmdDItem(false, ii);

Loading…
Cancel
Save