- JGE updates : main accepts argv/argc. Compilation variables for MP3 and Network support
- Minor fix in Wagic (potentially fixes crashes when using activated abilities several times in onr turn. Couldn't reproduce the issue)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-07-11 10:56:12 +00:00
parent 672e53d58c
commit fd8645d1a4
12 changed files with 112 additions and 13 deletions
+1
View File
@@ -221,6 +221,7 @@ fastbond2.txt
fault_line.txt
feral_hydra.txt
fire_tempest.txt
firebreathing.txt
fists_of_ironwood.txt
flagstones.txt
flame_fusillade_i265.txt
@@ -0,0 +1,26 @@
#Testing Firebreathing twice
[INIT]
FIRSTMAIN
[PLAYER1]
hand:firebreathing
inplay:grizzly bears
manapool:{R}{R}{R}
[PLAYER2]
[DO]
firebreathing
grizzly bears
firebreathing
firebreathing
next
#begin combat
next
#attackers
grizzly bears
eot
[ASSERT]
UNTAP
[PLAYER1]
inplay:grizzly bears,firebreathing
[PLAYER2]
life:16
[END]
+1 -1
View File
@@ -403,7 +403,7 @@ class GenericActivatedAbility:public ActivatedAbility, public NestedAbility{
ManaCost * diff = abilityCost->Diff(cost);
source->X = diff->hasX();
SAFE_DELETE(diff);
SAFE_DELETE(abilityCost);
//SAFE_DELETE(abilityCost); this line has been reported as a bug. removing it doesn't seem to break anything, although I didn't get any error in the test suite by leaving it either, so... leaving it for now as a comment, in case.
ability->target = target; //may have been updated...
if (ability) return ability->resolve();
return 0;
+1 -1
View File
@@ -10,7 +10,7 @@
#include "../include/PlayerData.h"
#include "../include/utils.h"
static const char* GAME_VERSION = "WTH?! 0.12.0 - by wololo";
static const char* GAME_VERSION = "WTH?! 0.12.1 - by wololo";
#define DEFAULT_ANGLE_MULTIPLIER 0.4f
#define MAX_ANGLE_MULTIPLIER (3*M_PI)