This repository was archived by the owner on May 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ bool Core::find_functions()
7171 char * get_shared_turf_ptr = (char *)Pocket::Sigscan::FindPattern (BYONDCORE, " 55 8b ec 8b 4d 08 3b 0d ?? ?? ?? ?? 73 12 a1 ?? ?? ?? ?? 8b 0c 88 a1 ?? ?? ?? ?? 8b 04 88 5d c3 33 c0 5d c3" );
7272 TRUE_OR_DIE (get_shared_turf_ptr)
7373 turf_table = *(int ***)(get_shared_turf_ptr + 15 );
74- turf_existence_table = ((int )turf_table + 4 );
74+ turf_existence_table = (unsigned char **)( (int )turf_table + 4 );
7575 world_size = (WorldSizeHolder*)((int )turf_table + 8 );
7676 turf_shared_info_table = *(TurfSharedInfo****)(get_shared_turf_ptr + 23 );
7777 turf_hashtable = *(Turf****)Pocket::Sigscan::FindPattern (BYONDCORE, " 55 8b ec a1 ?? ?? ?? ?? 8b 55 08 23 c2 0f b7 c8 a1 ?? ?? ?? ??" , 17 );
78- turf_hashtable_mask = (int )( turf_hashtable + 8 );
78+ turf_hashtable_mask = (unsigned short *)(( int ) turf_hashtable + 8 );
7979 TRUE_OR_DIE (turf_hashtable);
8080#else
8181 FIND_OR_DIE (GetStringTableEntry, " 55 89 E5 83 EC 18 8B 45 ?? 39 05 ?? ?? ?? ?? 76 ?? 8B 15 ?? ?? ?? ?? 8B 04 ??" );
@@ -135,4 +135,4 @@ bool Core::find_functions()
135135
136136#endif
137137 return true ;
138- }
138+ }
You can’t perform that action at this time.
0 commit comments