Update writing_code.md

This commit is contained in:
intns 2023-03-26 15:01:49 +01:00 committed by GitHub
parent 1c1ae113ac
commit c8c413593b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,4 +37,4 @@ Which, for enemies, you may want to look at the ```isCreatureWithinRange``` func
- ```CG_PARMS(x)``` is shorthand for ```static_cast<Parms*>(x->mParms)```.
- ```C_PARMS``` is shorthand for ```static_cast<Parms*>(this->mParms)```.
- ```CG_PROPERPARMS(x)``` is shorthand for ```static_cast<Parms*>(x->mParms)->mProperParms```.
- ```C_PROPERPARMS(x)``` is shorthand for ```static_cast<Parms*>(this->mParms)->mProperParms```.
- ```C_PROPERPARMS``` is shorthand for ```static_cast<Parms*>(this->mParms)->mProperParms```.