X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;fp=src%2Feditor.c;h=f2436f9ec92754a39f889dcc8e24cdf06f41fdbc;hp=2aba3638632873b3f022036f8d2e6827b5df00c5;hb=4cd59cef0737229da365e385a8762e681a5e471f;hpb=1a41e7b2976c6486eb1412c55ed98c7fcc9f3e51 diff --git a/src/editor.c b/src/editor.c index 2aba3638..f2436f9e 100644 --- a/src/editor.c +++ b/src/editor.c @@ -5749,10 +5749,10 @@ static void ReinitializeElementList(void) int element = (*editor_elements_info[i].element_list)[j]; if (element >= NUM_FILE_ELEMENTS) - Error(ERR_WARN, "editor element %d is runtime element", element); + Warn("editor element %d is runtime element", element); if (strEqual(getElementInfoText(element), INFOTEXT_UNKNOWN_ELEMENT)) - Error(ERR_WARN, "no element description text for element %d", element); + Warn("no element description text for element %d", element); } } @@ -8408,8 +8408,7 @@ static void CheckElementDescriptions(void) for (i = 0; i < NUM_FILE_ELEMENTS; i++) if (getElementDescriptionFilename(i) == NULL && !IS_OBSOLETE(i)) - Error(ERR_WARN, "no element description file for element '%s'", - EL_NAME(i)); + Warn("no element description file for element '%s'", EL_NAME(i)); } #endif