25 Jul 2025 18:31 - 25 Jul 2025 18:32 #10833
by JTP
Is this code needed or was it to find a place to add the code ? I don’t have anything like it already
Code:
zone_rnum quest_zone(qst_rnum quest) {
zone_rnum i;
if (quest == NOTHING) {
return NOWHERE;
}
for (i = 0; i < top_of_zone_table; i++) {
if (QST_NUM(quest) >= zone_table.bot && QST_NUM(quest) <= zone_table.top) {
return i;
}
}
return NOWHERE;
}
Last edit: 25 Jul 2025 18:32 by
JTP.
Please Log in or Create an account to join the conversation.