|
@@ -674,7 +674,7 @@ void OpenRaider::menuMapListMove(char dir, bool show) {
|
674
|
674
|
do {
|
675
|
675
|
menuMapListMove('f', false);
|
676
|
676
|
} while (strstr(mMapList.current(), dirName) != NULL);
|
677
|
|
- delete dirName;
|
|
677
|
+ delete []dirName;
|
678
|
678
|
} else {
|
679
|
679
|
do {
|
680
|
680
|
menuMapListMove('f', false);
|
|
@@ -695,7 +695,7 @@ void OpenRaider::menuMapListMove(char dir, bool show) {
|
695
|
695
|
menuMapListMove('b', false);
|
696
|
696
|
} while (strstr(mMapList.current(), dirName) != NULL);
|
697
|
697
|
menuMapListMove('f', false);
|
698
|
|
- delete dirName;
|
|
698
|
+ delete []dirName;
|
699
|
699
|
} else {
|
700
|
700
|
do {
|
701
|
701
|
menuMapListMove('b', false);
|