diff Character_state.c @ 70:cee55c8365e9 default tip

fix
author Kazuma
date Thu, 19 May 2016 18:52:26 +0900
parents 2c85322348cf
children
line wrap: on
line diff
--- a/Character_state.c	Sun May 22 10:19:58 2011 +0900
+++ b/Character_state.c	Thu May 19 18:52:26 2016 +0900
@@ -450,7 +450,7 @@
       p->vy = rand % 3 + 1;
       p->state = chara_state23;
     }
-  if((sf == 2))
+  if(sf == 2)
     {
       p->x = rand % 290;
       p->y = -30;
@@ -918,7 +918,6 @@
 
 CHARACTER * chara_state41(CHARACTER *p) //left arm up arm vulkan
 {
-  int rand;
 
   if (enemy_part2->f == FALSE)
     {
@@ -947,7 +946,7 @@
     {
       if (p->dt1 % 15 == 1) 
 	{
-	  Puttama(9 + rand % 2, p->x, p->y);
+	  Puttama(9 + rand() % 2, p->x, p->y);
 	}
     }
   if (rinkf1 == 10)