Ver Fonte

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 há 8 anos atrás
pai
commit
cac27fc3d5
1 ficheiros alterados com 202 adições e 212 exclusões
  1. 202 212
      src/map/script.c

Diff do ficheiro suprimidas por serem muito extensas
+ 202 - 212
src/map/script.c


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff