diff src/roadveh_cmd.cpp @ 7967:e30c5ec2d272 draft

(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
author skidd13 <skidd13@openttd.org>
date Sun, 25 Nov 2007 15:35:25 +0000 (2007-11-25)
parents 38bb7c45688f
children 06293aabe6ea
line wrap: on
line diff
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -1989,7 +1989,7 @@
 
 	if (v->current_order.type == OT_GOTO_DEPOT &&
 			v->current_order.flags & OF_NON_STOP &&
-			!CHANCE16(1, 20)) {
+			!Chance16(1, 20)) {
 		return;
 	}