projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19991002-1-src
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index 091b01867134e0e49f0ed38b05e2feb9fc6d6679..5b77b1fc9d47c5c165482ac5728feba18ee8ac6f 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-1911,8
+1911,8
@@
static void MapControlButtons()
/* map buttons to select level */
counter_id = ED_COUNTER_ID_SELECT_LEVEL;
ModifyEditorCounterLimits(counter_id,
/* map buttons to select level */
counter_id = ED_COUNTER_ID_SELECT_LEVEL;
ModifyEditorCounterLimits(counter_id,
- leveldir
[leveldir_nr].
first_level,
- leveldir
[leveldir_nr].
last_level);
+ leveldir
_current->
first_level,
+ leveldir
_current->
last_level);
ModifyEditorCounter(counter_id, *counterbutton_info[counter_id].value);
MapCounterButtons(counter_id);
}
ModifyEditorCounter(counter_id, *counterbutton_info[counter_id].value);
MapCounterButtons(counter_id);
}
@@
-3832,7
+3832,7
@@
static void HandleControlButtons(struct GadgetInfo *gi)
break;
case GADGET_ID_SAVE:
break;
case GADGET_ID_SAVE:
- if (leveldir
[leveldir_nr].
readonly)
+ if (leveldir
_current->
readonly)
{
Request("This level is read only !", REQ_CONFIRM);
break;
{
Request("This level is read only !", REQ_CONFIRM);
break;