src/sound/sound_driver.hpp
branchnoai
changeset 9641 855e32c08c9b
parent 9631 8a2d1c2ceb88
child 8771 f7ad4dba14bf
--- a/src/sound/sound_driver.hpp	Thu Jul 12 15:52:17 2007 +0000
+++ b/src/sound/sound_driver.hpp	Fri Jul 13 09:18:50 2007 +0000
@@ -14,7 +14,7 @@
 template <class T>
 class SoundDriverFactory: public SoundDriverFactoryBase {
 public:
-	SoundDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_SOUND); }
+	SoundDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_SOUND, ((T *)this)->priority); }
 
 	/**
 	 * Get the long, human readable, name for the Driver-class.