More adapted copypaste from fighter.c

I suppose that this is not gonna compile