OSDN Git Service

Removed AngbandSoundCatalog's dispose() method: not necessary.
authorEric Branlund <ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:54:43 +0000 (00:54 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:54:43 +0000 (00:54 -0800)
src/main-cocoa.m

index 0200372..cb93998 100644 (file)
@@ -114,11 +114,6 @@ static bool new_game = FALSE;
 - (id)init;
 
 /**
- * Releases the resources acquired for the catalog.
- */
-- (void)dispose;
-
-/**
  * If self.enabled is YES and the given event has one or more sounds
  * corresponding to it in the catalog, plays one of those sounds, chosen at
  * random.
@@ -157,11 +152,6 @@ static bool new_game = FALSE;
     return self;
 }
 
-- (void)dispose {
-    self->soundsByPath = nil;
-    self->soundArraysByEvent = nil;
-}
-
 - (void)playSound:(int)event {
     if (! self.enabled) {
        return;