AGS: Engine: Complete "object interaction events take obj pointer and mode as params" commit

This completes cb6cce267d75ccdbca452873693a1ccadf0f688b
This commit is contained in:
Walter Agazzi authored and Filippos Karapetis committed 2024-10-30 18:07:42 +02:00
1 parent dcd7be5b2d
commit 57464f3dce
6 files changed
+22 -8

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ int run_interaction_script(const ObjectEvent &obj_evt, InteractionScripts *nint,
return -1;
}
int room_was = _GP(play).room_changes;
const int room_was = _GP(play).room_changes;
// TODO: find a way to generalize all the following hard-coded behavior