瀏覽代碼

Fix Linux Debug build

stelth 12 年之前
父節點
當前提交
4fbc6242b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
         {