Переглянути джерело

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 роки тому
батько
коміт
cac27fc3d5
1 змінених файлів з 202 додано та 212 видалено
  1. 202 212
      src/map/script.c

Різницю між файлами не показано, бо вона завелика
+ 202 - 212
src/map/script.c


Деякі файли не було показано, через те що забагато файлів було змінено