mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-26 09:59:04 +01:00
Merge pull request #127 from BJNFNE/fix-invalid-typo
fix typo for invalid in weapon.c
This commit is contained in:
commit
a372b51f59
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void weapons_fire(ship_t *ship, int weapon_type) {
|
||||||
case WEAPON_TYPE_EBOLT: weapon_fire_ebolt(ship); break;
|
case WEAPON_TYPE_EBOLT: weapon_fire_ebolt(ship); break;
|
||||||
case WEAPON_TYPE_SHIELD: weapon_fire_shield(ship); break;
|
case WEAPON_TYPE_SHIELD: weapon_fire_shield(ship); break;
|
||||||
case WEAPON_TYPE_TURBO: weapon_fire_turbo(ship); break;
|
case WEAPON_TYPE_TURBO: weapon_fire_turbo(ship); break;
|
||||||
default: die("Inavlid weapon type %d", weapon_type);
|
default: die("Invalid weapon type %d", weapon_type);
|
||||||
}
|
}
|
||||||
ship->weapon_type = WEAPON_TYPE_NONE;
|
ship->weapon_type = WEAPON_TYPE_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue