Display more info on the location of the deprecated constant (script from parse_script only) (#5993)
Fixed #5979 Thanks to @M45T3Ryu, @Lemongrass3110 and @aleos89 !
This commit is contained in:
parent
acbebc4cd8
commit
4ca4e71a17
@ -1380,6 +1380,7 @@ const char* parse_simpleexpr(const char *p)
|
||||
ShowWarning( "This constant was deprecated and could become unavailable anytime soon.\n" );
|
||||
if (str_data[l].name)
|
||||
ShowWarning( "Please use '%s' instead!\n", str_data[l].name );
|
||||
disp_warning_message("parse_simpleexpr: deprecated constant", p);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user