diff --git a/rott/rt_door.c b/rott/rt_door.c index 3719e9d..48d2662 100644 --- a/rott/rt_door.c +++ b/rott/rt_door.c @@ -299,7 +299,7 @@ int GetIndexForAction(void (*action)(intptr_t)) void SaveTouchPlates(byte ** buffer,int *size) -{int i,k; +{int i; byte * tptr; touchplatetype *temp; saved_touch_type dummy; @@ -318,7 +318,7 @@ void SaveTouchPlates(byte ** buffer,int *size) for(i=0;inextaction) + for(temp=touchplate[i];temp;temp = temp->nextaction) { dummy.tictime = temp->tictime; dummy.ticcount = temp->ticcount;