![]() |
|
|
#5 |
|
Guest
Posts: n/a
|
While it's a useful fix, allocating a 3.96 MB array in memory with absolutely no null checking or bounds checking is asking for a disaster. Plus, static arrays in this case are a very bad idea...
Should create a hash_map of players spectating instead, at least that way, it's safe and doesn't waste memory. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 10 October 2007, 08:04. Открыть источник. |
|
|