summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Rules.c4d/ToggleBackgroundMusic.c4d/Graphics.png
diff options
context:
space:
mode:
authorJan <>2015-07-10 21:06:58 +0200
committerJan <_>2015-07-22 14:40:18 +0200
commitb29ee57b37103930c911057c74eca5e04d08a849 (patch)
tree72771f6670861f3337d6abf59bd893b98cea50f6 /TemplePushing.c4s/Rules.c4d/ToggleBackgroundMusic.c4d/Graphics.png
parenta7c6d274f240e86a8b989aac9e9122180ec5606a (diff)
downloadtempelschubsen-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/Rules.c4d/ToggleBackgroundMusic.c4d/Graphics.png')
0 files changed, 0 insertions, 0 deletions