Jump to content

[crashfix][5855] .debug Sendopcode


Guest arrai
 Share

Recommended Posts

This patch will fix a crash when using .debug sendopcode

Index: src/game/debugcmds.cpp
===================================================================
--- src/game/debugcmds.cpp        (Revision 5851)
+++ src/game/debugcmds.cpp        (Arbeitskopie)
@@ -135,7 +135,6 @@
        FILE *file = fopen("opcode.txt", "r");
        if(!file)
        {
-                fclose(file);
                return false;
        }

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use