Forráskód Böngészése

Fixed an ambiguous if statement (fixes #1581)
* Resolves a compile warning for a multi-line define.

aleos89 8 éve
szülő
commit
01e5fbe0b7
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      src/map/status.c

+ 2 - 1
src/map/status.c

@@ -12602,8 +12602,9 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
 				map_freeblock_lock();
 				dounlock = true;
 				skill_attack(skill_get_type(status_sc2skill(type)), src, unit_bl, bl, SO_CLOUD_KILL, sce->val1, tick, 0);
-				if (!status_isdead(bl))
+				if (!status_isdead(bl)) {
 					sc_timer_next(500 + tick, status_change_timer, bl->id, data);
+				}
 			}
 		}
 		break;