+2005-12-03
+ * fixed major bug which prevented private levels from being edited
+
+2005-12-02
+ * fixed graphical bug with player animation when player moves slowly
+
2005-11-28
* fixed bug which prevented "global.num_toons: 0" from working
leveldir_new->in_user_dir =
(strcmp(leveldir_new->basepath, options.level_directory) != 0);
- /* adjust sort priority if user's private level directory was detected */
+ /* adjust some settings if user's private level directory was detected */
if (leveldir_new->sort_priority == LEVELCLASS_UNDEFINED &&
leveldir_new->in_user_dir &&
- strcmp(leveldir_new->subdir, getLoginName()) == 0)
+ (strcmp(leveldir_new->subdir, getLoginName()) == 0 ||
+ strcmp(leveldir_new->name, getLoginName()) == 0 ||
+ strcmp(leveldir_new->author, getRealName()) == 0))
+ {
leveldir_new->sort_priority = LEVELCLASS_PRIVATE_START;
+ leveldir_new->readonly = FALSE;
+ }
leveldir_new->user_defined =
(leveldir_new->in_user_dir && IS_LEVELCLASS_PRIVATE(leveldir_new));