Author: anonymissimus
Date: Sun Nov  6 01:20:46 2011
New Revision: 51877

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51877&view=rev
Log:
add a warning message to [colour_adjust]

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=51877&r1=51876&r2=51877&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sun Nov  6 01:20:46 2011
@@ -895,8 +895,10 @@
 
 //Function handling old name
 ///@deprecated 1.9.2 'colour_adjust' instead of 'color_adjust'
+//deprecation message added 1.9.10
 WML_HANDLER_FUNCTION(colour_adjust, /*event_info*/, cfg)
 {
+       WRN_NG << "[colour_adjust] is deprecated, use [color_adjust]\n";
        color_adjust(cfg);
 }
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to