Commit Graph

16 Commits (coverity_scan)

Author SHA1 Message Date
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 360c7f863c Store magic effect Base values in savegame (Fixes #1489) 11 years ago
scrawl 2db50da8dd Implement magic effect script instructions (Feature #1489) 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl ff7e4174f9 Fix some leftover code that still calculated random magnitude per spell rather than per effect. Major cleanup of InventoryStore: Magic effects are now updated when needed, rather than cached. Also allows to get rid of 'mutable' hacks and non-const method that should be const. Play sounds and particles when equipping a permanent enchantment item. 11 years ago
Marc Zinnschlag 94bb97e766 replacing tabs with spaces 11 years ago
Xethik 094e4d93b7 Generally speaking, you should never compare iterators from two different compilers
http://stackoverflow.com/questions/4657513/comparing-iterators-from-different-containers
It seems like this was just an overlook that happened to work on most systems. I was not able to thoroughly test this change, but it fixed an issue I was having in VC10.
It's possible the prev.end() was a copy paste error that was meant to be new.end() anyways.
11 years ago
Marc Zinnschlag 654cd3ab9b Issue #479: Use magnitude specified when adding disease 12 years ago
greye 7606ebafd6 resolving conflicts, minor update 12 years ago
Marc Zinnschlag 635a89c35c Issue #256: RNG fix 13 years ago
Marc Zinnschlag 372efaafd7 Issue #256: changed implementation of MagicEffects::operator+= 13 years ago
Marc Zinnschlag 40c58c1bb7 Issue #256: fixed a capitalisation mistake 13 years ago
Marc Zinnschlag 5236bcb557 Issue #256: added operator+= for MagicEffects 13 years ago
Marc Zinnschlag e1997b7f04 Issue #256: added MagicEffects::add overload for EffectLists 13 years ago
Marc Zinnschlag 6fe6f3d282 adjust initial magicka based on Fortify Maximum Magicka effect 14 years ago
Marc Zinnschlag 98405a5716 implemented magic effects from abilities (effects are not applied yet) 14 years ago