1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-03 16:13:22 +08:00

Changed return value of default implementation for IGameEventManager2::GetEventDebugID() from 0 to 42.

- This stops the engine from printing the 'GameEventListener2 callback' warning
This commit is contained in:
Scott Ehlert 2008-11-14 01:01:20 -06:00
parent 5ed18462cf
commit 3ef6aa802d

View File

@ -95,7 +95,7 @@ public:
virtual void FireGameEvent( IGameEvent *event ) = 0; virtual void FireGameEvent( IGameEvent *event ) = 0;
virtual int GetEventDebugID( void ) virtual int GetEventDebugID( void )
{ {
return 0; return 42;
} }
}; };