Fixed primitives, fixed some possible crashes on Commander Format.

This commit is contained in:
Vittorio Alfieri
2021-09-03 00:33:53 +02:00
parent 001cea95bd
commit 236f677f2a
4 changed files with 39 additions and 17 deletions
+1 -1
View File
@@ -1482,7 +1482,7 @@ MTGGameZone * MTGGameZone::intToZone(GameObserver *g, int zoneId, MTGCardInstanc
if (!source && g) //patchwork fix when g is NULL.
p = g->currentlyActing();
else
else if (source)
p = source->controller();
if (!target && source) //patchwork fix when source is NULL.
{