Преглед на файлове

Lolbug.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12541 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin преди 17 години
родител
ревизия
a873c21e21
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -3704,7 +3704,7 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
 
 	//Default speed coming in means there's no speed_rate adjustments. 
 	int new_speed = speed;
-	bool default_speed = (speed == 100);
+	bool default_speed = (speed == DEFAULT_WALK_SPEED);
 
 	if(!sc || !sc->count)
 		return cap_value(speed,10,USHRT_MAX);