Kaynağa Gözat

Merge pull request #1040 from stelth/master

Fix Linux debug build.
Sean Paul Taylor 12 yıl önce
ebeveyn
işleme
4005b2e09f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      gameplay/src/PlatformLinux.cpp

+ 1 - 1
gameplay/src/PlatformLinux.cpp

@@ -923,7 +923,7 @@ namespace gameplay
 
     const GamepadInfoEntry& getGamepadMappedInfo(const GamepadHandle handle)
     {
-        GP_ASSERT(pad);
+        GP_ASSERT(handle >= 0);
 
         for(list<ConnectedGamepadDevInfo>::iterator it = __connectedGamepads.begin(); it != __connectedGamepads.end();++it)
         {