mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added use_item_on_dude macro to sfall.h
Various code edits: * Implemented more HookCalls/MakeCalls/SafeWriteBatch in code. * Moved return/jump address consts into their respective functions. * Changed for-loop with iterators to use pre-increment.
This commit is contained in:
@@ -154,7 +154,7 @@ end:
|
||||
}
|
||||
|
||||
static void InitExtraPatches() {
|
||||
for (auto it = patchFiles.begin(); it != patchFiles.end(); it++) {
|
||||
for (auto it = patchFiles.begin(); it != patchFiles.end(); ++it) {
|
||||
if (!it->empty()) fo::func::db_init(it->c_str(), 0);
|
||||
}
|
||||
// free memory
|
||||
|
||||
Reference in New Issue
Block a user