Commits

rmtew  committed a59338d Merge

Merge branch 'issue-170-inventory-locked-crash'

  • Participants
  • Parent commits 11461fb, 1c48ce7

Comments (0)

Files changed (1)

File src/Help.cpp

 
   if (HasStati(LOCKED))
     Desc += Format("__<14>Locked:<7> Picking its lock requires a Skill Check against a DC of <11>%d<7>.",
-        19 + m->Depth);
+        19 + p->m->Depth);
 
   if (HasStati(TRIED, SK_LOCKPICKING, p))
     Desc += Format("__<14>Tried:<7> You have already tried to pick its lock today.\n");