jackpoz
f091713086
Core/Misc: Fix typo
...
Fix typos about the word "Resurrect"
2014-05-24 18:25:53 +02:00
Warpten
fa31b161cc
Merge pull request #12102 from Trisjdc/achievements
...
Core/Achievements: Fixed ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS in case killed creature has a loot recipient (Credit would be granted to loot recipient rather than killing blow lander)
2014-05-22 20:04:27 +02:00
Trisjdc
4d3156e0b8
Core/Achievements: Fix ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS
2014-05-21 15:10:15 +01:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00
Shauren
b83cff2a85
Core/Vehicles: Set proper power type using PowerDisplay.dbc
...
Original commit by Xfurry - cmangos/mangos-wotlk/bef8c99cc07c96d4e2f45e0ff6bc107068555ffb
2014-05-19 15:42:51 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Sebastian Valle Herrera
b70edf7bca
Merge pull request #12071 from Praetonus/warnings
...
Fix various warnings.
2014-05-17 18:40:23 -05:00
joschiwald
1dbc943297
Core/GameObjects: fixed instant reset of gameobjects after activation
2014-05-17 20:05:43 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Gacko
39410b35a4
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2014-05-11 12:37:29 +02:00
Gacko
dabbe38022
Core/GameObject: Set trap type 0 back to GO_READY after activation.
...
Otherwise it would be activated again on every update. My fault, moving the activation code to GO_ACTIVATED skips the cooldown check.
Closes #12047
2014-05-11 12:35:40 +02:00
MitchesD
8e7cf15dd1
Scripts/HallsOfReflection: Major changes
...
* corrections to Intro Event (Falric, Marwyn etc.)
* fixed issues with Frostsworn General
* improved the whole Wrath of the Lich King event
* implemented outro gunship
* optimalization code and cleanup and fixed some typos
* Big thanks to @joschiwald, he is author too ;-)
2014-05-10 21:37:33 +02:00
Discover-
71795bf977
Core/Trade: It's no longer possible to fake the amount of gold put into the trade window. It's only visual but still an exploit, allowing scamming.
2014-05-09 17:58:04 +02:00
Gacko
111bbb3620
Remove unnecessary check in previous fix
2014-05-06 19:06:59 +02:00
Gacko
41d9364b16
Core/GameObject: Fix crash added in c6bf7e0b1d
...
Thanks @jackpoz
2014-05-06 18:46:08 +02:00
Gacko
b48879ab79
Core/GameObject: Finish moving activation code of traps to GO_ACTIVATED
...
Fixing #6388 should be easier now...
2014-05-05 22:28:45 +02:00
Gacko
3ac4e3033c
Core/GameObject: Add missing initialization of m_lootStateUnit
2014-05-05 18:59:56 +02:00
Gacko
c6bf7e0b1d
Core/GameObject: Store unit in GameObject::SetLootState - required for trap activation.
2014-05-05 18:39:53 +02:00
Gacko
d0e6693266
Core/GameObject: Format comments and apply rename of previous commit.
2014-05-05 12:35:41 +02:00
Vincent-Michael
b6bf83589c
Core/Gameobject: Added missing break in 24ef7dbdf4
2014-05-05 10:06:44 +02:00
Gacko
99e04ddaf6
Fix indention from changes in previous commit.
2014-05-04 22:32:24 +02:00
Gacko
24ef7dbdf4
Core/GameObject: Solve some TODOs related to traps in GameObject::Update and improve logic.
...
Some more changes, TODO solutions and a fix for traps like those in #1359 or #6388 will follow.
2014-05-04 22:18:12 +02:00
Aokromes
d7b1405725
Merge pull request #11968 from Dehravor/cpp11
...
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-03 19:25:36 +02:00
Lucas
065207b1b8
Core/Spells: Correct a mistake in HOT aura procs
...
A crash fix was added in 3e0d2e4944
but the usage of spellProcEvent itself was incorrect, we should instead use spellProto of aura to be procced
2014-05-03 02:28:49 +02:00
Vincent-Michael
0faf4b1b24
Core/Text: Fix typo in 5caf6aad98
2014-05-01 21:59:19 +02:00
joschiwald
3ff9589c9a
Core/Battleground: fixed possible crash in BattlegroundSA
...
Closes #11969
2014-05-01 15:14:42 +02:00
Dehravor
cbd36d5a4e
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-01 11:19:32 +02:00
Vincent-Michael
5caf6aad98
Core/Texts:
...
* Fix creautre text with gender female
* Small cleanUp
* ObjectMgr.cpp/ObjectMgr.h part from joschi
2014-04-30 22:15:28 +02:00
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
Vincent-Michael
ba8959b733
Core/MSVC: Remove double warning disables
2014-04-28 22:44:56 +02:00
Vincent-Michael
4dfe3246fa
Core: Fix warning
2014-04-28 22:32:01 +02:00
joschiwald
84bff76ba0
Core/Misc: remove some obsolete parameters
2014-04-28 20:05:36 +02:00
Vincent-Michael
57cf043aec
Core/Creature: Missed changes in c536305e3a
2014-04-28 09:19:37 +02:00
Kinzcool
c536305e3a
Core: Droped faction_H field -- only one faction table is necessary
2014-04-27 18:13:55 -04:00
Discover-
91c6c8a911
Merge pull request #11945 from Dehravor/trade
...
Core/Trade: Correction of distance checking
2014-04-27 12:32:32 +02:00
joschiwald
211d56d633
Core/BG/SA:
...
* replaced some trinity_string with broadcasttexts
* basic implementation of phasing in SA
* spawn some triggers in SA (fixes dest position of teleport pads)
* added text getter to broadcasttext struct
* some cleanup in destructable go event notification
2014-04-26 03:40:30 +02:00
Vincent-Michael
c81d6e9b4b
Core/Texts:
...
* Enable some BroadcastTexts stuff (is not finish)
* Added reload command for broadcast_text table
ToDo:
- Enable: Sound/Emote stuff, etc.
- Auth base need refresh
2014-04-25 23:25:59 +02:00
jackpoz
2585e799f9
Core/Misc: Change how Position struct is retrieved
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bcaf9 changes by return a Position object instead of accepting a Position parameter by reference.
2014-04-25 21:19:30 +02:00
Dehravor
59a84951da
Core/Trade: Correction of distance checking
2014-04-25 20:52:17 +02:00
Discover-
9c68103c21
Merge pull request #11938 from Dehravor/inspect
...
Core/Handlers: Add inspect distance and target checks
2014-04-25 15:19:41 +02:00
Dehravor
abb97bac18
Core/Handlers: Add inspect distance and target checks
2014-04-24 14:34:19 +02:00
jackpoz
9d1afbba57
Core/Player: Check Player race and class on login
...
Don't allow login for Players with bad race/class combination to avoid any further crash later.
2014-04-23 21:37:27 +02:00
ZackTsuna
518190ee88
Core/Units: Don't set new power type if old power type is the same
2014-04-20 21:22:21 +02:00
Shauren
0f5632c70e
Core/Misc: Fixed some -Weffc++ warnings
2014-04-20 16:48:35 +02:00
jackpoz
e830225b21
Core/Misc: Fix change faction on dead Night Elves keeping the speed buff
...
Fix change faction on dead Night Elves causing the new player keeping the 175% wisp speed buff.
Players will be resurrected automatically on change faction.
Closes #255
2014-04-20 15:02:19 +02:00
jackpoz
8ca6371793
Core/Misc: Ensure GetVictim() returns a valid reference when expected
...
Add a new method EnsureVictim() which asserts a valid not NULL reference will be returned to the caller. Use this whenever the GetVictim() would be dereferenced .
2014-04-19 21:48:22 +02:00
Unholychick
574fa30ea6
Core/Spells: Convert Avenging Wrath to spellscript
...
Closes #11896
Closes #3464
2014-04-18 20:21:05 +02:00
Vincent-Michael
89cc056a50
Fix
2014-04-18 17:02:04 +02:00
Shauren
e51976e17a
Core/Spells: Fixed players being able to mount with all transform auras
...
Closes #11852
2014-04-13 01:06:46 +02:00
jackpoz
7b9b0edb5d
Core/GameObjects: Fix crash with Summoning Ritual GOs
...
Fix a crash happening with GAMEOBJECT_TYPE_SUMMONING_RITUAL GameObjects if a Player clicked on the GO, logged out and let another Player click on it.
Issue added in 464c0c1611
Fixes #11856
2014-04-10 20:41:34 +02:00