Code:
#include <acknex.h>
#include <default.c>

function UpdateDust();

VECTOR eGD5;

int main (){
	vec_set(eGD5,vector(10,20,30));
	UpdateDust();
}


function UpdateDust(){
	VECTOR camloc;
	
	camloc.x=eGD5.x;
	camloc.y=eGD5.y;
	camloc.z=eGD5.z;

	printf ("%lf == %lf\n",(double)camloc.x,(double)eGD5.x);
	printf ("%lf == %lf\n",(double)camloc.y,(double)eGD5.y);
	printf ("%lf == %lf\n",(double)camloc.z,(double)eGD5.z);
}

i don't know what you're trying to do jreuschel1, but here is an abbreviated form of your code (the parts that actually matter regarding your problem).

it works perfectly.

next time use [ code] [/ code] tags to display your code please.

@dracula: sorry about the off-topicness. have you looked at the entrants for the 100 lines contest (check the AUM forum)? a lot of them use quite cryptic code to save lines, but i think quite a few of them are quite clean small examples of games in lite-C.

julz


Formerly known as JulzMighty.
I made KarBOOM!