Re: [ioquake3] Accessing gentity_t->health from the engine

2012-03-10 Thread Stephen LARROQUE
Hello Ben, Thank you very much for your code, I wish I could write so much complicated defines by myself ;) Unfortunately your code does not work right away, first because as_gent takes entityShared_t as argument instead of sharedEntity_t, and secondly your function only returns the r member, whi

Re: [ioquake3] Accessing gentity_t->health from the engine

2012-03-10 Thread Ben Noordhuis
On Sat, Mar 10, 2012 at 19:07, Stephen LARROQUE wrote: > Hello Ben, > > Thank you very much for your code, I wish I could write so much complicated > defines by myself ;) > > Unfortunately your code does not work right away, first becauseĀ as_gent > takes entityShared_t as argument instead of share