Browse Source

Don't validate items in Single Player

pull/7161/head
staphen 2 years ago committed by Anders Jenbo
parent
commit
753633f2ad
  1. 3
      Source/msg.cpp

3
Source/msg.cpp

@ -1027,6 +1027,9 @@ bool IsGItemValid(const TCmdGItem &message)
bool IsPItemValid(const TCmdPItem &message, const Player &player)
{
if (!gbIsMultiplayer)
return true;
const Point position { message.x, message.y };
if (!InDungeonBounds(position))

Loading…
Cancel
Save