Split onground/onroof into visual and logical variables

I will need to separate these into two different variables because I
will need to move logical onground/onroof assignments to the start of
gamelogic() - if I kept them together, however, that would change the
visuals of onground/onroof, which I want to keep consistent with 2.2.
This commit is contained in:
Misa
2021-03-18 13:18:33 -07:00
committed by Ethan Lee
parent d5d9d9ba96
commit 63a60b11cc
4 changed files with 13 additions and 5 deletions

View File

@@ -46,6 +46,8 @@ void entclass::clear(void)
gravity = false;
onground = 0;
onroof = 0;
visualonground = 0;
visualonroof = 0;
onentity = 0;
harmful = false;