id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 1384,ALL: Local script variables not always initialized,eriktorbjorn,Kirben,"{{{#!Markdown While looking for a different bug, I noticed that in SCUMM games we sometimes ensure that all unused local variables for a script are zeroed before calling runScript\(\), and sometimes we don't. Specifically, I noticed these cases: In Actor::startWalkAnim\(\), when a walk script is invoked. In ScummEngine::runInventoryScript\(\) When running the boot script. In this case we don't even bother to give the script as many local variables as we usually do. Now, in all likelyhood these cases are probably still well-defined. I assume the scripts never look at the uninitialized variables. But maybe we should initialize them anyway, just to be nice? }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#874631. Ticket imported from: bugs/1384. }}}",defect,closed,low,Engine: SCUMM,,fixed,,,