decompilation: Fix decompilation of modules that use "if (__debug__):"

These are:
toontown.ai.ToontownMagicWordManager
toontown.building.DistributedAnimDoor
toontown.building.DistributedDoor
toontown.building.DistributedKartShopInterior
toontown.racing.DistributedKartPad
toontown.racing.DistributedVehicleAI
toontown.racing.DistributedViewPad
toontown.racing.KartDNA
toontown.safezone.GSSafeZoneLoader
This commit is contained in:
Sam Edwards 2013-09-24 11:09:36 -06:00
parent 75dfbbcec6
commit d517699fb3
9 changed files with 9 additions and 9 deletions

View file

@ -28,7 +28,7 @@ from toontown.rpc import AwardManagerConsts
if base.wantKarts:
from toontown.racing.KartDNA import *
from toontown.racing.KartShopGui import *
if __debug__:
if (__debug__):
import pdb
class ToontownMagicWordManager(MagicWordManager.MagicWordManager):

View file

@ -3,7 +3,7 @@ from direct.directnotify import DirectNotifyGlobal
from direct.interval.IntervalGlobal import Parallel, Sequence, Wait, HprInterval, LerpHprInterval, SoundInterval
from toontown.building import DistributedDoor
from toontown.building import DoorTypes
if __debug__:
if (__debug__):
import pdb
class DistributedAnimDoor(DistributedDoor.DistributedDoor):

View file

@ -16,7 +16,7 @@ from toontown.toontowngui import TTDialog
from toontown.toonbase import TTLocalizer
from toontown.toontowngui import TeaserPanel
from toontown.distributed.DelayDeletable import DelayDeletable
if __debug__:
if (__debug__):
import pdb
class DistributedDoor(DistributedObject.DistributedObject, DelayDeletable):

View file

@ -5,7 +5,7 @@ from toontown.building import ToonInteriorColors
from toontown.hood import ZoneUtil
from toontown.toonbase.ToonBaseGlobal import *
from toontown.toonbase.ToontownGlobals import *
if __debug__:
if (__debug__):
import pdb
class DistributedKartShopInterior(DistributedObject):

View file

@ -1,6 +1,6 @@
from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObject import DistributedObject
if __debug__:
if (__debug__):
import pdb
class DistributedKartPad(DistributedObject):

View file

@ -5,7 +5,7 @@ from direct.distributed.ClockDelta import *
from direct.distributed import DistributedSmoothNodeAI
from direct.fsm import FSM
from direct.task import Task
if __debug__:
if (__debug__):
import pdb
class DistributedVehicleAI(DistributedSmoothNodeAI.DistributedSmoothNodeAI, FSM.FSM):

View file

@ -4,7 +4,7 @@ from direct.task import Task
from pandac.PandaModules import *
from toontown.racing.DistributedKartPad import DistributedKartPad
from toontown.racing.KartShopGlobals import KartGlobals
if __debug__:
if (__debug__):
import pdb
class DistributedViewPad(DistributedKartPad):

View file

@ -4,7 +4,7 @@ from toontown.toonbase import TTLocalizer
from pandac.PandaModules import *
from KartShopGlobals import *
import types
if __debug__:
if (__debug__):
import pdb
import copy
KartDNA = PythonUtil.Enum('bodyType, bodyColor, accColor, ebType, spType, fwwType, bwwType, rimsType, decalType')

View file

@ -9,7 +9,7 @@ from toontown.safezone.GSPlayground import GSPlayground
from toontown.effects.CarSmoke import CarSmoke
from toontown.toonbase import ToontownGlobals
import random
if __debug__:
if (__debug__):
import pdb
class GSSafeZoneLoader(SafeZoneLoader):