Fixes and cleanup
This commit is contained in:
1 parent
f72453d03e
commit
a718e699ad
11 files changed
+122
-92
No files matched your search
@@ -22,6 +22,11 @@ enum {
|
||||
LIGHT_BRIDGE_FLASH2,
|
||||
};
|
||||
|
||||
enum {
|
||||
ATTRACTORFLAG_ICECREAM,
|
||||
ATTRACTORFLAG_STARE
|
||||
};
|
||||
|
||||
enum {
|
||||
LIGHTFLAG_LOSCHECK = 1,
|
||||
// same order as CPointLights flags, must start at 2
|
||||
@@ -68,7 +73,7 @@ public:
|
||||
|
||||
C2dEffect(void) {}
|
||||
void Shutdown(void){
|
||||
if(type == 0){ // TODO: enum
|
||||
if(type == EFFECT_LIGHT){
|
||||
if(light.corona)
|
||||
RwTextureDestroy(light.corona);
|
||||
if(light.shadow)
|
||||
|
||||
Reference in new issue
Block a user