diff options
Diffstat (limited to 'CI/testxml/testxml.py')
-rwxr-xr-x | CI/testxml/testxml.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/CI/testxml/testxml.py b/CI/testxml/testxml.py index 32472b8..1fb7b35 100755 --- a/CI/testxml/testxml.py +++ b/CI/testxml/testxml.py @@ -1312,7 +1312,6 @@ def testParticles(id, node, nodeName, src): def testSounds(id, node, type): global errors - havemiss = False for sound in node.getElementsByTagName("sound"): try: event = sound.attributes["event"].value @@ -1329,11 +1328,6 @@ def testSounds(id, node, type): if event != "hit" and event != "strike" and event != "miss": print "error: incorrect sound event name " + event + " in id=" + id errors = errors + 1 - if event == "strike" or event == "miss": - if havemiss: - print "error: miss and strike attributes at same time in id=" + id - errors = errors + 1 - havemiss = True testSound(sound.childNodes[0].data, sfxDir, "") |