Merge branch 'master' into script_dev

This commit is contained in:
Nikolay Korolev committed 2020-03-02 22:54:47 +03:00
commit 0a3211d0cf
11 files changed
+122 -92

No files matched your search

+6 -1
View File
@@ -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)