Something silly occured yesterday.
I wrote this code
Code: Select all
void getEnemyDistance(enemy *enemy, enemy *enemy2)
while it works with
Code: Select all
void getEnemyDistance(enemy *e, enemy *f)
So, 2 questions :
- is it normal ?
- is there some official C doc which say it's wrong to do it the way I do, so I could fix it the good way ?