Commit 5e9bcde
committed
Fix getVehicleSirensOn/setVehicleSirensOn for Rhino and Barracks (#4899)
Rhino (432) and Barracks (433) have functional sirens in vanilla SA, but
HasSirens() rejected them because they were missing VEHICLE_HAS_SIRENS in
g_ulVehicleAttributes, causing the Lua siren API to return nil/false.
Add the bit on both client and server tables and in the gentable generator.1 parent bb7e811 commit 5e9bcde
3 files changed
Lines changed: 4 additions & 2 deletions
File tree
- Client
- mods/deathmatch/logic
- utils/gentable
- Server/mods/deathmatch/logic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments