allow to leave PC in other map

This commit is contained in:
Ondřej Novák 2025-02-04 15:08:35 +01:00
parent 5c4cfaf314
commit 33fa026576
23 changed files with 515 additions and 319 deletions

View file

@ -256,7 +256,7 @@ char start_invetory(int id,int xa,int ya,int xr,int yr)
{
i=group_sort[i];
p=&postavy[i];
if (p->used)
if (p->used && p->inmaphash == current_map_hash)
{
if (ms_last_event.event_type & 0x2)
{