Commit f273832
Peter Vaiko
fix: check CpUtil.getName parameter
Looks like this function is called with a number in
place of the vehicle during the game load sometime.
Since this is called every time we are logging the
vehicle's name, we have no idea which is the bad call.
Add a check and print the callstack so we can identify
the location. This will also mask the error, so if there
is no other problem, people will not report it, and we'll
never find out...1 parent 97ae250 commit f273832
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
0 commit comments