fix some lasers calling get_shader instead of get_shader_optional

This commit is contained in:
Andrei Alexeyev 2018-01-21 17:59:53 +02:00
parent 240e0362bb
commit 2a05d871dd
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}