Skip to content
Snippets Groups Projects
Commit e7454ba0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't zero-out static variables for option index/bar

This prevents re-entry to the door configurations from returning to the previously highlighted menu option. Not sure why this was, but clearly re-zeroing static variables makes no sense in the first place.
parent 632e51d8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1053,9 +1053,6 @@ void xtrn_cfg(uint section)
uint i,xtrnnum[MAX_OPTS+1];
static xtrn_t savxtrn;
sub_bar=0;
opt_dflt=0;
while(1) {
for(i=0,j=0;i<cfg.total_xtrns && j<MAX_OPTS;i++)
if(cfg.xtrn[i]->sec==section) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment