ACScript instances only ever exist while the bytecode which defines said script is in memory. Once loaded/populated, the script info db is never reallocated (only modified). Therefore, linking the info to a given ACScript thinker can be done directly, using a pointer.
ACS|Hexen: Simplified ACScript => BytecodeScriptInfo lookup
ACScript instances only ever exist while the bytecode which defines
said script is in memory. Once loaded/populated, the script info db
is never reallocated (only modified). Therefore, linking the info to
a given ACScript thinker can be done directly, using a pointer.