|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
20.06.2017, 20:11 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
"Gnomish Shrink Ray" fix with roll
Автор: catterpiler74
<pre style='white-space:pre-wrap;width:81ex'>"Gnomish Shrink Ray" fix with roll The author assumed that the roll variable would be assigned with a random value, and then this value would be compared with 3. However, the priority of the comparison operation is higher than of the assignment operation (see the table "Operation priorities in C/C++", so the random number will be compared with 3 first, and then the result of the comparison (0 or 1) will be written to the roll variable. Close https://github.com/cmangos/mangos-classic/pull/258</pre> Подробнее... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[12814] Add "go" and "to_me" option to ".mmap path" command. | newsbot | CMaNGOS Commits | 0 | 09.01.2015 16:59 |
[0155] Update "playercreateinfo_spell" and "playercreateinfo_action" for Worgen. | newsbot | CMaNGOS-4.3.4 Commits | 0 | 22.08.2012 01:07 |
[11263] Revert "[11262] Revert "[11261] Check gaps in quest RewChoiceItem* data."" | newsbot | CMaNGOS Commits | 0 | 18.03.2011 19:03 |
[10558] Fix spell "Spinning" (64385) for item "Unusual Compass" (45984) | newsbot | CMaNGOS Commits | 0 | 30.09.2010 00:22 |