summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 036bdf1..4cd6548 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1904,7 +1904,10 @@ int main(int argc, char *argv[])
}
}
else
+ {
free(tmp);
+ old_version = 0;
+ }
}
if (y>=sdl_scale*(YRES+(MENUSIZE-20))) //mouse checks for buttons at the bottom, to draw mouseover texts
{