diff options
| author | Jan <> | 2015-07-10 21:06:58 +0200 |
|---|---|---|
| committer | Jan <_> | 2015-07-22 14:40:18 +0200 |
| commit | b29ee57b37103930c911057c74eca5e04d08a849 (patch) | |
| tree | 72771f6670861f3337d6abf59bd893b98cea50f6 /TemplePushing.c4s/Misc.c4d | |
| parent | a7c6d274f240e86a8b989aac9e9122180ec5606a (diff) | |
| download | tempelschubsen-b29ee57b37103930c911057c74eca5e04d08a849.tar.gz tempelschubsen-b29ee57b37103930c911057c74eca5e04d08a849.zip | |
Move LoadScenarioSection call to script counter callback function
LoadScenarioSection was called directly from the scenario function StartGame which in turn was called by the menu object. When the "Done" entry in the menu was selected, C4ObjectMenu::MenuCommand executed the menu entry callback which called LoadScenarioSection. However, C4ObjectMenu::MenuCommand still used a dangling pointer to the object belonging to the menu that was deleted by LoadScenarioSection, thus causing random crashes.
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
0 files changed, 0 insertions, 0 deletions
