Commit 33f0521
[Bugfix] Crows fix
1) After crow's death (from actor's hit or blowout) it falls to ground. But after game save\load it 'resurrects'. The problem is that it flying in semi-dead state (health is 0, but state is Flying). When you hits it, Die() methot is not called (dead object can't die twice), so physics shell isn't created. Crow freezes at the last point in the sky.
2) Because of unitualized members flight of crows could be incorrect in some conditions.1 parent f97093b commit 33f0521
1 file changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
146 | | - | |
147 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
148 | 167 | | |
149 | 168 | | |
150 | 169 | | |
| |||
0 commit comments