fix some lasers calling get_shader instead of get_shader_optional
This commit is contained in:
parent
240e0362bb
commit
2a05d871dd
2 changed files with 3 additions and 3 deletions
|
@ -536,7 +536,7 @@ void iku_atmospheric(Boss *b, int time) {
|
|||
|
||||
complex bolts2_laser(Laser *l, float t) {
|
||||
if(t == EVENT_BIRTH) {
|
||||
l->shader = get_shader("laser_iku_lightning");
|
||||
l->shader = get_shader_optional("laser_iku_lightning");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -764,7 +764,7 @@ int induction_bullet(Projectile *p, int time) {
|
|||
|
||||
complex cathode_laser(Laser *l, float t) {
|
||||
if(t == EVENT_BIRTH) {
|
||||
l->shader = get_shader("laser_iku_cathode");
|
||||
l->shader = get_shader_optional("laser_iku_cathode");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -633,7 +633,7 @@ void elly_frequency2(Boss *b, int t) {
|
|||
complex maxwell_laser(Laser *l, float t) {
|
||||
if(t == EVENT_BIRTH) {
|
||||
l->unclearable = true;
|
||||
l->shader = get_shader("laser_maxwell");
|
||||
l->shader = get_shader_optional("laser_maxwell");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue