Commit Graph
100 Commits
Author SHA1 Message Date
gvcoman 53de62cee0 Fix typo.
--HG--
branch : trunk
2008-11-17 19:36:38 -05:00
gvcoman 868c2ef175 * Implemented new summon possessed summon type for spell 49352.
* Unsummon all summon possessed units on summoning aura cancel.

--HG--
branch : trunk
2008-11-17 18:57:16 -05:00
gvcoman 4cd86b2ed5 Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.
--HG--
branch : trunk
2008-11-17 18:47:24 -05:00
gvcoman 478ca47083 Delete possessed AI only on creature delete.
--HG--
branch : trunk
2008-11-16 14:38:02 -05:00
w12x 4b6072f9c3 Fixed entering arena teams. Hopefully.
--HG--
branch : trunk
2008-11-16 18:44:17 +01:00
KingPin a32d417cf0 * Changelog location added.
--HG--
branch : trunk
2008-11-16 10:04:08 -05:00
KingPin 16565316e4 irc bot not in source.
--HG--
branch : trunk
2008-11-16 10:03:46 -05:00
runningnak3d 3c866d5529 [svn] * Fixed a SQL issue that was causing game events to not be saved
* FROM_UNIXTIME doesn't allow '' inside the ()
* This should solve the issue of jumping from phase 1 -> 2 -> 3 -> 4 without completing the objectives
* This should also tick a LOT of players off if their servers are running with the stock TDB blizz values :P (low pop servers at least).

--HG--
branch : trunk
2008-11-16 02:28:44 -06:00
runningnak3d 44291639b3 [svn] * Small fix to trinitycore.conf.dist
* In the comments for Trinity Script, removed old DB connection info
* What was the ScriptDev2 DB is now part of the World DB, so those settings are used.

--HG--
branch : trunk
2008-11-15 23:22:11 -06:00
w12x a0826dce0d [svn] Added missing includes.
--HG--
branch : trunk
2008-11-15 15:11:31 -06:00
megamage 7d3997f7d6 [svn] *Update Kalecgos script.
*Correctly select aura triggered spell target.
*Fix some scripts, should be pGOHello = &
*Fix a bug that some channel spells cannot be interrupted.
*Fix a bug that not-selectable creature cannot be hit by target_entry spells.
*If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it.

--HG--
branch : trunk
2008-11-15 15:09:22 -06:00
gvcoman 61d9723c5b [svn] Fixed freeze caused by dynamic objects (hopefully).
--HG--
branch : trunk
2008-11-15 13:34:59 -06:00
megamage 8df6868fac [svn] DynamicObject should only be visible for caster if it is not in distance. However, I do not think this will fix the bug that dynamic object update freezes the server.
--HG--
branch : trunk
2008-11-15 11:56:59 -06:00
megamage 9ff33852b7 [svn] Fix the bug that next melee spells and auto shoot do not work.
--HG--
branch : trunk
2008-11-15 10:21:37 -06:00
visagalis 5eda9b1ec7 [svn] * Partly reverted 242 changes. To fix compile error.
--HG--
branch : trunk
2008-11-15 07:37:41 -06:00
KingPin 88aac8195f [svn] * minor cleanup in Level3.cpp
--HG--
branch : trunk
2008-11-15 07:14:03 -06:00
gvcoman 5deef1bb59 [svn] * Reimplemented packet/update forwarding in more generic way
* Implemented far sight spells (Far Sight, Eagle Eye, etc) at unlimited range and properly forward packets
* Implemented bind vision spells (Mind Vision, etc) to forward packets at unlimited distance
* Implemented Sentry Totem (both vision switching/forwarding and alerting)
* Other misc possession fixes
* Added .bindsight and .unbindsight commands

Please test out the above spells (including Mind Control) and report any issues on the forums.

--HG--
branch : trunk
2008-11-14 20:40:35 -06:00
visagalis 3085e66b96 [svn] *** Source: MaNGOS ***
* Fixed english spelling in src/game/WorldSocket.h/cpp. Author: Derex
* [240_world.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items. Author: Vladimir
* Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player. Author: fredi
* Correctly apply taken damage debufs/bonuses in cases non-physical melee damage. Author: Frankir
* Fix a crash in add friend/ignore callback. (check if player still logged in). Author: Hunuza
* Better args checking in .sendmoney command. Author: Vladimir

--HG--
branch : trunk
2008-11-14 17:50:48 -06:00
megamage 053b671cb5 [svn] Add UNIT_STAT_CASTING, and use it to update attack timer as test.
--HG--
branch : trunk
2008-11-14 17:42:00 -06:00
visagalis bfa9e75161 [svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir)
* Fix auth login queue. Author: Derex
* Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak
* Fixed some format arg type/value pairs. Other warnings. Author: Vladimir
* [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir

NOTE:
Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data.

--HG--
branch : trunk
2008-11-14 17:03:03 -06:00
visagalis d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
megamage eefcc9026b [svn] Remove a hack to try to fix "pet attack self" bug. Warning: this change may bring some unexpected bug.
--HG--
branch : trunk
2008-11-14 14:43:54 -06:00
megamage 05a3da754e [svn] Let caster face target after casting shadowstep.
--HG--
branch : trunk
2008-11-14 14:25:20 -06:00
megamage f6c1a7a93d [svn] Some update on channeled spells.
--HG--
branch : trunk
2008-11-14 14:19:23 -06:00
runningnak3d 53a7b53e7a [svn] * Fixed SchoolMask for Twin Blades of Azzinoth (Spell 41434)
* Thanks Anubiss

--HG--
branch : trunk
2008-11-14 11:46:44 -06:00
runningnak3d 80cc6cf02d [svn] * Fixed 230_world.sql
* Thanks Riccardo

--HG--
branch : trunk
2008-11-14 11:19:51 -06:00
slg 2c3130d415 [svn] * Merged SD2 Rev. 706 & 707
- Added: Pathaleon the Calculator script. Also added a Mechanar Instance script.
 - Added: Fixed and improved version of High King Maulgar. (Timers, Spells, Adds...)
 - Fixed: Nethermancer Sepethrea encounter. Spawning Adds, timers, spells...
 - Fixed: Lot of timers and spells like for: Doomlord Kazzak, Doomwalker, Gruul, and more.

* Fixed 147_world.sql

--HG--
branch : trunk
2008-11-13 17:12:54 -06:00
megamage 55d58ea878 [svn] Fix blink. Bug: can blink through door. Author: GodsdoG.
Fix blessed recovery and martyrdom. Patch provided by Gomez.
setActive for Akama shade to see if this can fix the bug that it cannot find channeler.

--HG--
branch : trunk
2008-11-12 23:06:51 -06:00
megamage 379bc3682c [svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject.
Add some missing script sql.

--HG--
branch : trunk
2008-11-12 16:21:08 -06:00
megamage e3a9de2d84 [svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL.
--HG--
branch : trunk
2008-11-12 10:36:13 -06:00
megamage f40b573a45 [svn] Update IsNoStackSpellDueToSpell. This should fix the bug that some talent spell auras cannot stack. Patch provided by QAston.
--HG--
branch : trunk
2008-11-12 10:22:56 -06:00
megamage 953aa51ea9 [svn] Fix a typo that makes pet cannot autocast. Thank Elron for pointing out the mistake.
--HG--
branch : trunk
2008-11-12 10:01:57 -06:00
megamage 62e2949370 [svn] Fix a typo. This solve the bug that sap and other spells cannot be removed by damage.
The original author of AURA_INTERRUPT_FLAG_UNATTACKABLE is kamir86. Sorry for not mentioning that in rev 221.

--HG--
branch : trunk
2008-11-12 09:28:38 -06:00
KingPin ad217ed2f4 [svn] * more fixes for hash/unordered map. source mangos.
--HG--
branch : trunk
2008-11-12 06:41:30 -06:00
megamage 897a989080 [svn] Fix some aura_interrupt_flags.
--HG--
branch : trunk
2008-11-11 20:50:03 -06:00
megamage 26d2b9f138 [svn] Fix a bug that tame beast may crash server.
--HG--
branch : trunk
2008-11-11 17:59:56 -06:00
megamage d06130f88c [svn] Fix some aura_interrupt_flag to correctly remove auras.
Add interrupt_flag_unattackable. Source: mangos forum. Adapted by F636y623.
Add function CombatStart().

--HG--
branch : trunk
2008-11-11 17:49:51 -06:00
KingPin b9c7086f05 [svn] Added player latency reading to Characters DB. Patch by Biglad.
*** Latency readouts provided by Trollz Inc. For all your cheap yet effective statistics please come to Trollz Inc... Now with more murloc blood added for more accuracy.

--HG--
branch : trunk
2008-11-11 14:01:02 -06:00
gvcoman 655d86275b [svn] Disable the follow and stay commands on charmed units or pets that have aura Bind Sight.
--HG--
branch : trunk
2008-11-10 22:51:37 -06:00
KingPin 943b4b68b9 [svn] * GCC compile fix - Source Derex
* Cleanups

*** This revision made by ogres due to our Gnome engineers getting a little too drunk at yesterdays Trinity office party(It's true, would I lie to you?).

--HG--
branch : trunk
2008-11-10 20:11:14 -06:00
megamage 73d1b07a91 [svn] Fix some typos.
--HG--
branch : trunk
2008-11-10 17:19:35 -06:00
KingPin 99044f7005 [svn] * Fixed tickethamdeling stuff.
* ArenaDb access,ticketcache, Client inventory position data cleanup from Mangos.

--HG--
branch : trunk
2008-11-10 11:01:48 -06:00
KingPin 09a0d1122a [svn] * Improve some arena team related DB access
* Cache GM tickets on server startup.
* Remove unused src/game/HateMatrix.h and references.
* Better check client inventory pos data received in some client packets to
skip invalid cases

--HG--
branch : trunk
2008-11-10 09:04:23 -06:00
KingPin 09280b0091 [svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
--HG--
branch : trunk
rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
2008-11-10 06:53:00 -06:00
megamage f2250030cd [svn] Fix pet spells: only AOE and enemy target spells are autocastable.
Script for quest: First Trial. Original patch by Bufu (SD2), adapted by Patro.

--HG--
branch : trunk
2008-11-09 23:54:02 -06:00
megamage a04ad26b9e [svn] Add Druid swift flight form quest scripts. Patch provided by Blaymoria.
Update tempest keep scripts. Patch provided by Blaymoria.

--HG--
branch : trunk
2008-11-09 15:17:38 -06:00
megamage ee02a2fc84 [svn] Send AttackStart package when update visibility.
Update DoMeleeAttackIfReady to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage 2c83fc42fc [svn] Fix a bug that event_ai mobs do not attack or cast.
--HG--
branch : trunk
2008-11-09 10:00:15 -06:00
megamage 30ecce57b2 [svn] Duplicate SystemConfig.h to fix linux build. This is a hack. Hope someone will find the correct in future.
--HG--
branch : trunk
2008-11-08 23:48:00 -06:00
gvcoman c014d6667c [svn] * Disabled the move and stay commands while pet is possessed
* Make pet come back to its owner after possession ends if it's not currently in combat
* Allow the possessed unit to properly change attack targets
* Also remove charm effects from charmed target on owner aura cancel

--HG--
branch : trunk
2008-11-08 23:32:15 -06:00
megamage 35a284df7e [svn] Fix build in Linux. Patch provided by SyRiOCoP.
--HG--
branch : trunk
2008-11-08 17:55:48 -06:00
gvcoman 78647da51d [svn] Fixed charmer or possessor not being entered in the threat lists of creatures who are being attacked by the charmed or possessed unit.
--HG--
branch : trunk
2008-11-08 17:46:34 -06:00
megamage e94ec9fa71 [svn] Merge from mangos:
Do not check LOS for triggered spells. Fri Nov 07 16:08:30 apoc
Fix reset combopoints on miss/parry/immune and etc. Sat Nov 08 14:53:03 DiSlord

--HG--
branch : trunk
2008-11-08 17:43:22 -06:00
megamage bc0164355f [svn] Fix: DOT and HOT only proc effects when hit, but not on every tick (I know there is a proc flag patch, but this is a very quick fix).
Change the structure of customattrmap. Use bit flag instead of uint32 for every attribute.

--HG--
branch : trunk
2008-11-08 11:26:44 -06:00
megamage 4f59e96806 [svn] One more attempt to fix build in Linux (somebody helps me, I do not even have a Linux).
--HG--
branch : trunk
2008-11-08 09:19:26 -06:00
megamage 1c1517030b [svn] Do not break stealth when spell is not successfully casted (e.g. out of range).
--HG--
branch : trunk
2008-11-08 09:11:18 -06:00
megamage 7b23225006 [svn] Disable LOS check in canSeeOrDetect. It has been proved that CPU cannot sustain so much calculation.
--HG--
branch : trunk
2008-11-08 09:03:56 -06:00
megamage 339006e515 [svn] Fix build in Linux.
--HG--
branch : trunk
2008-11-07 21:52:31 -06:00
gvcoman 9d6d9efa65 [svn] Fixed pets stopping attack after pressing the attack button multiple times.
--HG--
branch : trunk
2008-11-07 18:46:25 -06:00
gvcoman 3c7ae2b226 [svn] Removed accidentally forgotten debug code added in [197].
--HG--
branch : trunk
2008-11-07 16:56:16 -06:00
gvcoman e18c771553 [svn] Possession:
* Fixed player not having PvP flag on remove
* Fixed pet resetting its aggro on remove
* Fixed pet bar resetting on remove (?)
* Added dummy handler for NOT_ACTIVE_MOVER, display message only in debug logging mode

--HG--
branch : trunk
2008-11-07 16:49:42 -06:00
megamage 46bb829582 [svn] Merge define.h from mangos. Hope this will solve the lag problem.
--HG--
branch : trunk
2008-11-07 13:46:47 -06:00
megamage 2021552353 [svn] Update serpent shrine scripts. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-07 10:03:34 -06:00
megamage fd3fcb4612 [svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

--HG--
branch : trunk
2008-11-07 09:36:46 -06:00
megamage fdff7330d2 [svn] Fix ritual of summoning.
--HG--
branch : trunk
2008-11-06 17:16:33 -06:00
megamage 2a328220bf [svn] Merge from mangos:
b44eac552a0f9d4f298398d4cb07d2cd1462ad41 Use .respawn only for selected creature (if any) Tue Oct 28 08:34:35 2008
91988e44158fe5a7611d34612bc192aa7988de06 Fixed crash at using .account set gmlevel with wrong args.

--HG--
branch : trunk
2008-11-06 16:51:46 -06:00
megamage 43eabaff1b [svn] Fix a typo in canSeeOrDetect().
--HG--
branch : trunk
2008-11-06 16:34:54 -06:00
megamage b22c10128d [svn] Update SerpentShrine Cavern script. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-06 16:17:36 -06:00
megamage 37d4724c97 [svn] Merge from Mangos:
3c7ac5bd3e20c33a22ac57c5c3bac23a0798dc9e 2008-10-23 19:06:27
Some endianess related fixes and cleanups. By VladimirMangos.

--HG--
branch : trunk
2008-11-06 16:10:28 -06:00
megamage 0aada07187 [svn] Fix hunter's trap (let original caster summon dynamic object).
Fix black temple boss 1's hurl spine.

--HG--
branch : trunk
2008-11-06 12:24:56 -06:00
megamage 31be467b2e [svn] Check combat reach in GetRandomContactPoint() until find out why some units have invalid combat reach.
--HG--
branch : trunk
2008-11-06 10:36:40 -06:00
megamage 43910434c5 [svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

--HG--
branch : trunk
2008-11-06 10:27:58 -06:00
KingPin 5746d0e98d [svn] * Avoid access to bag item prototype for getting bag size, use related item
update field instead as more fast source. source mangos.
* Further reduce of DB access in guild handlers.
* Multi-locale DBC extracting  - source Foks

*** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits..

--HG--
branch : trunk
2008-11-06 08:20:26 -06:00
megamage c74f9b4a68 [svn] Fix a bug that summon spells may summon incorrect number of creatures (will find a better way later).
--HG--
branch : trunk
2008-11-05 23:53:13 -06:00
megamage c6442f086c [svn] Fix broken VC90/game.vcproj in rev 182.
--HG--
branch : trunk
2008-11-05 23:28:07 -06:00
gvcoman 44bdb135f4 [svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

--HG--
branch : trunk
2008-11-05 20:51:05 -06:00
KingPin 8d331f2b10 [svn] * Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source.
* Better check client inventory pos data received in some client packets to skip invalid cases.
* Removed some unnecessary database queries.
* Make guid lookup for adding ignore async.
* Added two parameter versions of the AsyncQuery function
* Make queries for adding friends async. - Hunuza
* Replace some PQuery() calls with more simple Query() - Hunuza
* Mark spell as executed instead of deleteable to solve crash.
*** Source mangos.

**Its a big commit. so test with care... or without care.... whatever floats your boat.

--HG--
branch : trunk
2008-11-05 20:10:19 -06:00
megamage 404f72c7a2 [svn] Add some assert for better debug.
--HG--
branch : trunk
2008-11-05 16:37:52 -06:00
KingPin 9167e72a84 [svn] * fixed compile
--HG--
branch : trunk
2008-11-05 16:13:04 -06:00
KingPin c6d9b60207 [svn] * Allow reconnect in trinityrealm.
--HG--
branch : trunk
2008-11-05 13:35:33 -06:00
KingPin 84624aa7c4 [svn] * minor fix
* Add missed part of 176

--HG--
branch : trunk
2008-11-05 09:59:56 -06:00
KingPin 62ed044d08 [svn] *** Source Mangos ***
*Load npc_options at server startup, use cached data at creature gossip menu init.
* Also new .reload table command added
*Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded
* Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client.
* Fixed crash at .pinfo command use from console.
* Fixed windows ad.exe build
*Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.

** Small code changes to make things compliant with above changes.
** Another rev with big changes so test away.

--HG--
branch : trunk
2008-11-05 09:22:56 -06:00
slg a1981ecc77 [svn] * Added missing SQL for [173]
--HG--
branch : trunk
2008-11-04 16:31:42 -06:00
slg d266f7622b [svn] * Updated more .cpp scripts to use script_texts
- Hellfire Ramparts
 - Blood Furnace
 - Shattered Halls
 - Magtheridon's Lair
 - Steam Vault
* Added random OOC yells to Magtheridon

--HG--
branch : trunk
2008-11-04 16:26:01 -06:00
megamage e91816937b [svn] Merge SD2 Rev 735. Patch provided by neo0608.
Fix 171_world.sql.

--HG--
branch : trunk
2008-11-04 15:37:18 -06:00
slg 31cebde085 [svn] * Updated Serpentshrine Cavern scripts to use script_texts
* Added script_texts for (nearly) all scripts
* Added documentation for script_texts
* Fixed tabs in chat.cpp

--HG--
branch : trunk
2008-11-04 15:21:02 -06:00
KingPin 89c9756b77 [svn] added commands : pet create, tp, learn, unlearn. gobject activate and playall. thanx to dythzer.
--HG--
branch : trunk
2008-11-04 13:32:08 -06:00
megamage b53ab74b50 [svn] Remove a hack on triggered spell target selection.
Some minor fixes.

--HG--
branch : trunk
2008-11-04 10:33:02 -06:00
megamage fc9a14a6cf [svn] Fix 146_world.sql. Do not use default for text. (Ignore this if you have successfully applied 146_world.sql)
Fix HandleAuraModIncreaseHealth, also increase current health.
Merge from Mangos:
2008-11-02 10:53:27 854e0d64e3410b2a1eff6d56705f8e42b4291534 Do not split self caused damage.
(PART) 2008-10-31 12:45:22 e56b671979623570acd358a9b99aa169be22ffba Move tamed pet creating code to new function.

--HG--
branch : trunk
2008-11-04 09:23:06 -06:00
megamage a5045b7684 [svn] Update black temple boss 1, 2 script.
--HG--
branch : trunk
2008-11-03 20:44:32 -06:00
megamage 6391d04aac [svn]
--HG--
branch : trunk
2008-11-03 18:45:53 -06:00
megamage 47d205ea71 [svn] Replace many IsWithinDistInMap with IsWithinCombatDist in melee attack function.
--HG--
branch : trunk
2008-11-03 17:39:34 -06:00
megamage 94c03e3211 [svn] Fix hunter's frozen trap, half duration when pvp.
Use vector to store linked spell information to support multiple effects.

--HG--
branch : trunk
2008-11-03 17:20:35 -06:00
megamage 6a8878fb5d [svn] Use IsWithinCombatDist for all AI. This should fix the bug that pet and guard does not attack target. (Note: some scriptedAI may need to update)
--HG--
branch : trunk
2008-11-03 14:11:09 -06:00
megamage da5786249f [svn] Fix SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY spells, patch provided by QAston.
Fix priest's fear. Is breakable now.

--HG--
branch : trunk
2008-11-03 13:43:36 -06:00
megamage 09c72569c0 [svn] Update zul'aman script. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-03 10:42:25 -06:00
megamage ab1bb3ac76 [svn] Add class SummonList in script to despawn summons. Update Zul'jin script for test.
--HG--
branch : trunk
2008-11-03 10:16:06 -06:00
megamage b9af250881 [svn] Fix the compile error. Patch provided by Tidus.
Merge part of mangos svn rev 6748: Use SMSG_PET_NAME_INVALID opcode instead of db string. Source: Mangos.

--HG--
branch : trunk
2008-11-03 09:53:31 -06:00
megamage b3bdc26a11 [svn] Set destination when calling CastSpell. This should fix the bug that seed of corruption does not work and "cannot find destination for spell" spams. Not sure if this is the correct way to fix it.
--HG--
branch : trunk
2008-11-03 08:29:04 -06:00
megamage fbef4e3abf [svn] Fix a compile bug. Patch provided by Paradox.
--HG--
branch : trunk
2008-11-03 08:14:21 -06:00