Browse Source

Refactored script_rid2sd (#2062)

It now matches the other script_***2sd or script_***2bl functions.
Also added script_mapid2sd for mapid to map session lookups.
Cleaned up the order of some of the checks in the script functions that used script_rid2sd and sometimes checked the validity of the retrieved session to late or even never at all.
Lemongrass3110 8 năm trước cách đây
mục cha
commit
cac27fc3d5
1 tập tin đã thay đổi với 202 bổ sung212 xóa
  1. 202 212
      src/map/script.c

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 202 - 212
src/map/script.c


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác