Error message in Global Code
Posted: Thu Jun 14, 2007 10:09 pm
Hi,
I have a very simple function prototype at the top of the global code editor, i.e
void countshots(int);
and have a funtion definition, i.e
void countshots(int shots)
{
//code will go here
}
If I save the ged file, close Game Editor (v. 1.3.7) then reopen GE, open the ged file and try to run it, then it says theres an error in the global code. When I check the global code I get the following error message:
'Redeclaration of parameter 'countshots'. Is there something that I am doing wrong?
Many thanks
Laddsa
I have a very simple function prototype at the top of the global code editor, i.e
void countshots(int);
and have a funtion definition, i.e
void countshots(int shots)
{
//code will go here
}
If I save the ged file, close Game Editor (v. 1.3.7) then reopen GE, open the ged file and try to run it, then it says theres an error in the global code. When I check the global code I get the following error message:
'Redeclaration of parameter 'countshots'. Is there something that I am doing wrong?
Many thanks
Laddsa