mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 15:21:34 +00:00
fixes
This commit is contained in:
parent
a28079c780
commit
431ceffdf5
1 changed files with 3 additions and 3 deletions
|
@ -1990,7 +1990,7 @@ void target_alert_remapShaders(int target_condition) {
|
|||
case 1: // yellow
|
||||
for(i = 0; i < alertShaders.numShaders; i++) {
|
||||
f = (float)(level.time * 0.001f);
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.yellowShaders[i] == NULL) {
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.yellowShaders == NULL || alertShaders.yellowShaders[i] == NULL) {
|
||||
break;
|
||||
}
|
||||
AddRemap(alertShaders.greenShaders[i], alertShaders.yellowShaders[i], f);
|
||||
|
@ -2000,7 +2000,7 @@ void target_alert_remapShaders(int target_condition) {
|
|||
case 2: // red
|
||||
for(i = 0; i < alertShaders.numShaders; i++) {
|
||||
f = (float)(level.time * 0.001f);
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.redShaders[i] == NULL) {
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.redShaders == NULL || alertShaders.redShaders[i] == NULL) {
|
||||
break;
|
||||
}
|
||||
AddRemap(alertShaders.greenShaders[i], alertShaders.redShaders[i], f);
|
||||
|
@ -2010,7 +2010,7 @@ void target_alert_remapShaders(int target_condition) {
|
|||
case 3: // blue
|
||||
for(i = 0; i < alertShaders.numShaders; i++) {
|
||||
f = (float)(level.time * 0.001f);
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.blueShaders[i] == NULL) {
|
||||
if(alertShaders.greenShaders == NULL || alertShaders.greenShaders[i] == NULL || alertShaders.blueShaders == NULL || alertShaders.blueShaders[i] == NULL) {
|
||||
break;
|
||||
}
|
||||
AddRemap(alertShaders.greenShaders[i], alertShaders.blueShaders[i], f);
|
||||
|
|
Loading…
Reference in a new issue