multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.32k stars 411 forks source link

Fix outputDebugString with level 4 not showing #3460

Closed srslyyyy closed 2 weeks ago

srslyyyy commented 2 weeks ago

Fixes #3458

TracerDS commented 2 weeks ago

Congratulations on your first PR 🥳 Nevermind, your second 😅

botder commented 2 weeks ago

Instead of checking the value twice, why not do something like uiMinimumDebugLevel = std::min(uiMinimumDebugLevel, 3)